GET
/emails/{email_id}/attachments/{attachment_id}Retrieve a single attachment for a sent emailParameters
email_idstring · uuidpathrequiredThe ID of the email.
attachment_idstring · uuidpathrequiredThe ID of the attachment.
Responses
objectRetrievedAttachment
content_dispositionstringHow the attachment should be displayed.
content_idstringThe content ID for inline attachments.
content_typestringThe MIME type of the attachment.
download_urlstringSigned URL to download the attachment content.
expires_atstring · date-timeTimestamp when the download URL expires.
filenamestringThe filename of the attachment.
idstring · uuidThe ID of the attachment.
objectstringThe type of object.
sizeintegerSize of the attachment in bytes.
{
"content_disposition": "attachment",
"content_id": "img001",
"content_type": "application/pdf",
"download_url": "https://cloudfront.example.com/path?Signature=...",
"expires_at": "2024-10-27T18:30:00.000Z",
"filename": "document.pdf",
"id": "660e8400-e29b-41d4-a716-446655440000",
"object": "attachment",
"size": 2048
}