Skip to main content
Retrieve an attachment from a draft

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

hash
string
required

Hash of the attachment to retrieve, as carried by the draft's file entries.

Minimum string length: 1
Pattern: ^[a-z0-9]+$
Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

id
string
required

Identifier of the draft the attachment belongs to.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"8b312068-ecdf-4fa6-8f13-c6183da85f43"

Response

Returns the attachment file with its content type and file name.