API referenceMessages
Download an attachment
GET
The file's bytes, with its media type. Images are shown inline; anything else downloads.
bearerheader
AuthorizationBearer <token>An API token
id*stringA session id
aid*stringAn attachment id
The file
response?file*/*Format
binarycurl -X GET 'http://127.0.0.1:7777/sessions/ses_6c1f2a0b9d3e4f5a6b7c/attachments/att_0f1e2d3c'Example Response
"string"