GET /v1/emails/{id}/attachments
Works for both directions: for an inbound message the attachments are parsed from the received MIME; for an outbound message they’re the files you sent. Each entry includes a url you fetch with your bearer token to stream the bytes.
Path parameters
string
required
The message id.
Request
Response
200 OK — a data array of attachment metadata. The array is empty when the message has no attachments.
200 OK
Fields
string
The attachment identifier.
string
The file name.
string
The MIME type, e.g.
application/pdf.integer
The size in bytes.
string
The authenticated download URL. GET it with your
Authorization: Bearer header to stream the bytes.