GET
/emails/{email_id}/attachments/{attachment_id}Get an email attachment
Retrieves a single attachment for a sent email. Use email_id and attachment_id to identify the email and attachment; the response includes a signed download URL and its expiration time.
email_idstringrequired
UUID of the email containing the attachment.
attachment_idstringrequired
UUID of the attachment to retrieve.
200Returns the attachment's ID, filename, MIME type, content disposition, signed download URL, URL expiration time, and size.
objectstringoptional
The type of object.
idstringoptional
The ID of the attachment.
filenamestringoptional
The filename of the attachment.
content_typestringoptional
The MIME type of the attachment.
content_idstringoptional
The content ID for inline attachments.
content_dispositionstringoptional
How the attachment should be displayed.
download_urlstringoptional
Signed URL to download the attachment content.
expires_atstringoptional
Timestamp when the download URL expires.
sizeintegeroptional
Size of the attachment in bytes.
Error handling
The email_id and attachment_id path parameters must be UUIDs and identify the email and attachment to retrieve.