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