Skip to main content

Download document

GET 

/restapi/v2.1/accounts/:accountId/envelopes/:envelopeId/documents/:documentId

Download a specific document from an envelope. Returns the document as binary PDF content.

Regular numeric document IDs (e.g., "1", "2") are resolved to actual source documents by order.

Special documentId values:

  • combined - Downloads all envelope documents merged into a single PDF, at any envelope status. Before the envelope completes the PDF shows the documents as they stand so far (fields completed to date, watermarked) and carries no certificate. Once completed it also includes signer attachments and the Certificate of Completion; pass certificate=false to leave the certificate out.
  • certificate - Downloads the Certificate of Completion as a PDF. Available once the envelope is completed; returns 404 before that.
  • archive - Downloads a ZIP archive of the envelope's documents (application/zip) at any envelope status. Once completed the archive also contains the Certificate of Completion (PDF and JSON).

Request​

Responses​

Document file (a ZIP for archive)

Response Headers
    X-Request-Id

    Correlation id for this request, returned on every response (success and error). Quote it when contacting support to pinpoint the exact request, and use it to correlate your own logs. It is the same 128-bit id as the trace-id segment of the traceparent header.

    traceparent

    W3C Trace Context identifier for this request, returned on every response. Send your own traceparent on a request to have it adopted, so a multi-call workflow shares one trace. Format: 00-<32-hex trace-id>-<16-hex span-id>-<2-hex flags>.