attachments
Download attachment
Returns the attachment bytes. Authenticate with Authorization: Bearer <API_KEY>. The response is the file itself (not a redirect), so clients can fetch the URL from attachments[].url with the same API key they use for the rest of the API.
get/v1/attachments/{messageId}/{filename}
Request
- Base URL: https://api.openmail.sh
- URL: https://api.openmail.sh/v1/attachments/{messageId}/{filename}
- Auth: HTTP bearer
Path parameters
messageIdstring required
filenamestring required
Response
Attachment file bytes
Changes
No recorded changes to this operation across all 1 revision of this API.