Skip to main content
Download all attachments of a document as a ZIP archive

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

id
string
required

Identifier of the document whose attachments should be packed.

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

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

Query Parameters

downloadToken
string

Value echoed back by the response as a downloadToken cookie. Send one when the client needs to recognize its own download once the response arrives.

Example:

"b7f21c04-6f31-4a19-9d0c-2c7f5be21f38"

Response

Streams the ZIP archive with the document's attachments.