API Docs / Operations / Email - Mailbox / Get Attachment

Get Attachment

GET /tenants/{tenant}/email-configs/{code}/messages/{messageId}/attachments/{attachmentId}

Streams the raw content of a message attachment. Use for downloading files and resolving inline CID images in HTML email bodies. Returns the file with its original content type and caches for 1 hour.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
attachmentId* path string
messageId* path string (uuid)

Responses

200 OK
401 Unauthorized – Invalid or missing API key
404 Not Found

Try it