Skip to content
API v1 · 1.0.0-draft.1
Go to console
Contents ↓

API reference / Documents

GET

Export the result

GET /v1/documents/{document_id}/exports/{format}

Download the result in another format

Parameters

document_idstringpathrequired
formatstringpathrequired
Export format, or template:{template_id} for a customer template made in the console.
include_pendingbooleanqueryoptional
Allow export while the document is in_review (partial delivery only).

Possible errors

400invalid_requestThe request is invalid; see details.
401unauthorizedAuthentication failed. Check your API key.
403forbiddenThis key isn't allowed to do this.
404not_foundNot found.
409invalid_stateThis action isn't possible in the current state.
409idempotency_in_progressThe same request is still in progress; retry shortly.
409result_not_readyThe result isn't ready yet.
422idempotency_conflictThis Idempotency-Key was used for a different request.
422unsupported_outputThis output format isn't available for this document.
422invalid_requestThe request is invalid; see details.
Last updated: 23 Nov 2026