Download Envelope Documents Archive
This document contains details for the /api/v1/envelope/{envelopeUuid}/zip endpoint, including query parameters and how ZIP contents vary by document state.
Last updated
Was this helpful?
This document contains details for the /api/v1/envelope/{envelopeUuid}/zip endpoint, including query parameters and how ZIP contents vary by document state.
URL
/api/v1/envelope/{envelopeUuid}/zip
Authorization
Bearer {token}
Content-Type
application/json
Mailbox UUID header
{uuid}
Use this endpoint to download the full envelope archive or the archive of one document. The response body is a ZIP file.
Request the full archive when you need all envelope files. Add query parameters when you need one document only or want to exclude generated files.
Archive contents depend on the document state. Completed documents return more files than incomplete ones.
envelopeUuid — envelope UUID
documentId — download the archive for one document only
excludeFiles — exclude generated files from the ZIP
zipStructureName — use a pre-saved ZIP structure from the template
Use these excludeFiles mask values:
c — certificates
p — printable versions
a — audit trail
Combine excludeFiles values in one mask. For example, cp excludes certificates and printable versions.
If the document is incomplete, the ZIP usually contains only the audit trail.
If the document is complete, the ZIP contains original documents, printable versions, and processing or signing certificates.
If the document is complete and already signed, the ZIP also contains the produced signatures.
ZIP content changes with the processing flow step and document state. The same request can return different files at different stages of envelope processing.
Last updated
Was this helpful?
Was this helpful?
/api/v1/envelope/89499ba2-287d-404c-87b0-342dc5b01b6a/zip/api/v1/envelope/89499ba2-287d-404c-87b0-342dc5b01b6a/zip?documentId=4a61f258-fd9d-406c-b47e-81c90d4e5c47/api/v1/envelope/89499ba2-287d-404c-87b0-342dc5b01b6a/zip?excludeFiles=cp