messages
Download an attachment
Decoded bytes of one attachment, served as a forced download: Content-Type is always application/octet-stream and disposition is always attachment regardless of the declared type (emails are hostile input). The filename is sanitized to [A-Za-z0-9. _-], 80 chars max.
get/v1/messages/{id}/attachments/{index}
Request
- Base URL: https://api.mailfixture.com
- URL: https://api.mailfixture.com/v1/messages/{id}/attachments/{index}
- Auth: HTTP bearer
Path parameters
idstring uuid required
Message id.
indexinteger required
Zero-based position in the message's attachments metadata array.
Response
The decoded attachment bytes.
Changes
No recorded changes to this operation across all 1 revision of this API.