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.

Requires: ViewAll on Mailbox.

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
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found

Try it