Create a packet download link

Required scope: documents:download.

Returns a URL for downloading a ready packet PDF directly from storage. The URL expires after five minutes. Send an empty JSON object as the body.

Every source document must still exist and be accessible to this key; otherwise the response is 409 packet_source_unavailable and you should generate a new packet. If the packet file is unreadable or has changed, the response is 409 file_unavailable.

Anyone holding the URL can download the file until it expires, even if the API key is revoked, so do not log or share it. This request does not use an Idempotency-Key.

POST /api/v2/packets/{id}/download-access
Bearer token scope documents:download

Path parameters

· 1
id string required

Packet ID.

Body

required application/json
value object

Responses