Documents

Export a document

Changed on

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

get/v1beta/documents/{document_id}/export

Request

  • Base URL
    https://api.factify.com
  • URL
    https://api.factify.com/v1beta/documents/{document_id}/export
  • Auth
    HTTP bearer

Path parameters

document_idstring required

Document ID.

Example:doc_01h2xcejqtf2nbrexx3vqjhp41

Query parameters

version_idstring

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

Example:ver_01h2abcd1234efgh5678jkmnpt

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.

Changes