Post

3 followers Follow
0
Avatar

Geberic email address

How can I get through the API email associated with an element? I mean geberic email address ( https://help.podio.com/hc/en-us/articles/201290603-Email-to-item ).

Иванов Станислав

Please sign in to leave a comment.

12 comments

0
Avatar

The "email-to-item" address of an app is unfortunately not available through the API.

Andreas Garnæs 0 votes
0
Avatar

How can we get this email? Suggest alternative please.

Иванов Станислав 0 votes
0
Avatar

Could you explain your use-case please, then I'll try help you with an alternative solution.

Thanks :)

Andreas Garnæs 0 votes
0
Avatar

The client has a list of items. The client must be able to send messages to a mailbox attached to the element.

Иванов Станислав 0 votes
0
Avatar

Do I get it correctly that the client would like to comment on the items via email?

Andreas Garnæs 0 votes
0
Avatar

For a specific item you can get the "email-to-comment" email address by adding fields=email_item_comment_app or fields=email_item_comment_user to the query params when getting the item, e.g. curl https://api.podio.com/item/123?fields=email_item_comment_app. This will add additional property email_item_comment_user or email_item_comment_app to the JSON output. If you use the address returned by email_item_comment_user, the comment will be on behalf of the user making the API request, while if you use the address returned by email_item_comment_app the comment will be on behalf of the app.

Andreas Garnæs 0 votes
0
Avatar

Specify how to get email failed.

{"error_parameters":{},"error_detail":null,"error_propagate":false,"request":{"url":"http:\/\/api.podio.com\/item\/328041270","query_string":"fields=email_item_comment_user","method":"GET"},"error_description":"An unexpected error occured during execution","error":"unexpected"}

GET https://api.podio.com/item/328041270?fields=email_item_comment_user HTTP/1.1
User-Agent: Podio Dotnet Client
Accept: application/json
Content-Type: application/x-www-form-urlencoded
Authorization: OAuth2 8f3528262ed94884a01612653360188c
Host: api.podio.com

Please give an example code in C #.

Иванов Станислав 0 votes
0
Avatar

I'm currently looking the issue with the team, I'll get back to you when I know more. If you need a solution right now, you can try authorising as a user instead of an app, or look into zapier.

Thanks for your patience.

Andreas Garnæs 0 votes
0
Avatar

There's a fix for this issue being deployed soon, most likely tomorrow.

Andreas Garnæs 0 votes