Skip to content

Download a message's file

GET /v1/messages/{id}/media

Returns the bytes of the file a message carries.

Needs messages:read.

id string · uuid

The message’s ID.

Content-Type is the type recorded for the file, or application/octet-stream if there is none. The file is always sent as an attachment, with X-Content-Type-Options: nosniff.

200 The file, as an attachment.

Besides the ones every request can get:

404not_foundThe message has no file, the file is no longer stored, or the message is in another workspace.