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 ).
-
For a specific item you can get the "email-to-comment" email address by adding
fields=email_item_comment_app
orfields=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 propertyemail_item_comment_user
oremail_item_comment_app
to the JSON output. If you use the address returned byemail_item_comment_user
, the comment will be on behalf of the user making the API request, while if you use the address returned byemail_item_comment_app
the comment will be on behalf of the app. -
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.comPlease give an example code in C #.
-
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.
Please sign in to leave a comment.
Comments
12 comments