I'd like to download an attachment from the conversation via REST API (Circuit Sandbox)
If I query the Conversation Item, I can see the attachments and within that the fileID. Then, if I am logged with a user account who is a member of the conversation, I can run the following to download the attachment or paste it in the browser where I am logged to the sandbox:
''' start chrome https://circuitsandbox.net/rest/v2/fileapi?fileid=MyFileIdHere '''
And that works. Is there a way to achieve the same with a Bot via REST?
A regular GET request will work.
and here is the REST notation.
The access token for a bot (client credentials grant) is obtained via OAuth 2.0:
REST notation: