Skip to main content
GET
Download an attachment

Authorizations

Authorization
string
header
required

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
string
required

Email ID

attachment_id
string<uuid>
required

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.