Skip to main content

Download a retained attachment

GET 

/api/messages/:id/attachments/:attachmentId

x-audience: "management"
x-required-scope: "messages:read"

Streams a retained attachment while the account's current retention policy permits access. Requires the account's messages:read scope or a signed-in session. The response uses a safe Content-Disposition filename and private, no-store caching.

Request​

Responses​

Attachment bytes.