Skip to navigation

Get document export task status

Beta

Get the current status of a single-item document export task. When the export completes successfully, the response populates a downloadUrl where the result can be downloaded. The download URL is usable for a limited time after completion. Returns 404 if the task is not found, including when its result has expired.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

task_idstringRequired

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Response

Export task status
messagestring
statusenum
  • NOT_STARTED: Task has been created but not yet started.
  • IN_PROGRESS: Task is currently running.
  • COMPLETED: Export finished successfully; downloadUrl is populated.
  • FAILED: Export encountered an error.
Allowed values:
downloadUrlstring or nullOptional

Link to download the exported file. Populated only when status is COMPLETED; null otherwise.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error