v1

latestOpenAPI 3.0.3MIT2026-07-24122271451.2 KB
Documents

[Beta] DOCX Export Task

📘 This endpoint returns the current state of a DOCX export task for a document. The endpoint supports downloading only multiple files if the document contains several sections. Downloading as a single file in this case is not possible.

get/public/beta/documents/{document_id}/docx-export-tasks/{task_id}

Path parameters

document_idstring required

Specify document id.

task_idstring required

Specify Task id.

Response

Got state of export DOCX task.

idstring required

Export task id.

document_idstring required

Document id.

status'created' | 'processing' | 'done' | 'error' required
StatusDescription
createdThe export task has been created, but the process has not started.
processingThe export task is in progress.
doneThe export task is completed, and the response contains URLs for downloading the documents.
errorAn error occurred during the execution of the export task.

Example response

{
  "id": "nPh2PDhFdDqAES9k64h9qX",
  "document_id": "BhVzRcxH9Z2LgfPPGXFUBa",
  "status": "created",
  "docx_items": [
    {
      "section_title": "Section 1"
    }
  ]
}