GET /api/files/attachments/:id
Downloads a single attachment. Simply supply the unique identifier for the required attachment.
Path parameters
- Name
id
- Type
- string
- Description
The identifier of the attachment to be downloaded.
Example request
curl \
-o example.png \
-u api:YOUR_API_KEY \
https://mailosaur.com/api/files/attachments/ATTACHMENT_ID
GET/api/files/email/:id
Downloads an EML file representing the specified email. Simply supply the unique identifier for the required email.
Path parameters
- Name
id
- Type
- string
- Description
The identifier of the email to be downloaded.
Example request
curl \
-o example.eml \
-u api:YOUR_API_KEY \
https://mailosaur.com/api/files/email/MESSAGE_ID