Skip to content

Get outbound email attachment content

GET
/api/emails/outbound/{outboundEmailId}/attachments/{attachmentId}

Return stored attachment bytes for an accessible outbound email. Attachment metadata remains available after the bytes expire, but this endpoint then returns 410.

Authorizations

ApiKey
Type
API Key (header: X-Api-Key)

Parameters

Path Parameters

outboundEmailId*
Type
string
Required
attachmentId*
Type
string
Required

Responses

application/json
JSON
{
  
"id": "string",
  
"filename": "invoice.pdf",
  
"content_type": "application/pdf",
  
"size": 24576,
  
"content_base64": "string"
}

Playground

Server
Authorization
Variables
Key
Value

Samples