Skip to content

Download Inbox Attachment

GET
/inbox/attachments/{token}

Download a draft or internal-note attachment. Not enveloped: bytes are bytes.

The token only opens a file of THIS organisation: it is bound to the org that uploaded it, and a token from anywhere else is a flat 404. Served with Content-Disposition: attachment and nosniff, never inline.

Authorizations

Parameters

Path Parameters

token
required

The token returned by POST /inbox/drafts/attachments or POST /inbox/notes/attachments.

string

The token returned by POST /inbox/drafts/attachments or POST /inbox/notes/attachments.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

The file’s bytes.

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string