Hi Christian, what response do you get back?
Email to item via PHP API
I’m trying to get the ”email to item” email address for an item via PHP and the API.
After authorization I use:
$emailInfo = Podio::request('GET','/email/contact/item_comment_app/item/123456789(item id)');
I don’t seem to work. If I use the sandbox here:
123456789 (item id)
It works fine.
What am I doing wrong?
Please sign in to leave a comment.
In my current setup I dont get any error message - PHP just stops at that line.
Could you try enable debugging and see what is logged please? http://podio.github.io/podio-php/debug/
Several years later...I am trying to do the same.
Using podio-php lib from gitHub, when app authenticating and calling
$emailWrapper = Podio::request('GET', '/email/contact/item_comment_app/item/' . $itemID);
I get a PodioForbidden error when hitting my endpoint whil it works in the sandbox just fine.
I suspect authentication is some how not happy. Could you please advise?