Download an attachment
Email API · Receiving
Download an attachment with the Email API
Downloads a received email attachment as raw bytes.
GET
Download an attachment
Authorizations
Paubox API uses Bearer token authentication in the Authorization header.
Format: Authorization: Bearer YOUR_API_KEY_HERE
Example: Authorization: Bearer 9e5b092b632445b8f570c62ae54f30fda1044305
The legacy format Authorization: Token token=YOUR_API_KEY_HERE is also supported.
Path Parameters
Email ID
Attachment id, from the email's attachment metadata
Response
Attachment bytes. Content-Type is the attachment's own MIME type (application/octet-stream when it has none).
The response is of type file.