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 signed documents merged with the audit certificate as a single PDF (only available for completed envelopes).
  • certificate - Downloads Certificate of Completion (not yet implemented, returns 501).
  • archive - Downloads complete envelope archive (not yet implemented, returns 501).

Request

Responses

Document file

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>.