Discussion Forums

retrieve emails in a dropbox

 
New Member
5 posts

How can I use the API to get all emails in a given dropbox?

Thanks
Giles

New Member
5 posts

I thought /report/activities might do it, but I don’t get anything back even when the response is “status”: “success”

I tried just using “last”: “created” and a wide date range for start and end (definitely including the date when I know a linked email activity was created), but got an empty list of activities back

so I tried adding “users”: <userid> of a user with a linked email activity, and I got the same result

has anyone else used /report/activities for this?

Avatar
Administrator
3952 posts

Hi Giles,

The external API doesn’t currently support calls to the linked-email activity data / dropbox (email is a bit more unwieldy than standard activities).  I suppose we should consider adding it as a separate call though.

New Member
5 posts

Yes, it would be helpful - I’m using lamson to check email traffic for relevant messages and forward them to the appropriate Solve360 dropbox.  The API call would let me write tests for my routing rules.

New Member
5 posts

is it possible to use

https://secure.solve360.com/webmail/listmessages

directly?

I tried it and got ‘{“ok”:false,“reason”:“Non-Authorized Request”}‘

I imagine the csrf field has to be valid for it to work