v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-1759238438.1 KB
Documents

Export a document

Generates a time-limited download URL for the document PDF.

get/v1beta/documents/{document_id}/export

Path parameters

document_idstring required

Document ID.

Example:doc_01h2xcejqtf2nbrexx3vqjhp41

Document ID.

Query parameters

version_idstring

Optional version ID. If omitted, exports the current version.

Example:ver_01h2abcd1234efgh5678jkmnpt

Optional version ID. If omitted, exports the current version.

Response

Success

expires_atstring date-time required

Timestamp when the download URL expires.

headersobject

HTTP headers to include when fetching the URL.

urlstring required

Presigned URL to download the document PDF.