messages
Download a received attachment
Returns one received attachment's bytes, always as application/octet-stream; the type the sender declared is mime_type in the message's attachment metadata. Take attachment_id from content.attachments of a ready message.
The bytes are the sender's file: save them or pass them to a file tool.
get/v1/messages/{message_id}/attachments/{attachment_id}
Request
- Base URL: https://cherami.to
- URL: https://cherami.to/v1/messages/{message_id}/attachments/{attachment_id}
- Auth: HTTP bearer
Path parameters
message_idstring required
Cherami resource ID returned by the API.
attachment_idstring required
id from the message's content.attachments, not a filename.
Response
The original bytes, as a download.
Changes
No recorded changes to this operation across all 1 revision of this API.