---
title: "[Beta] DOCX Export Task"
method: GET
path: "/public/beta/documents/{document_id}/docx-export-tasks/{task_id}"
tags: ["Documents"]
---

# [Beta] DOCX Export Task

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

> 📘 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.

## Path parameters

- `document_id` string, required
- `task_id` string, required

## Response `200`

Got state of export DOCX task.

- DocxExportTaskResponse
  - `id` string, required — Export task id.
  - `document_id` string, required — Document id.
  - `status` 'created' | 'processing' | 'done' | 'error', required — | **Status** | **Description** | |---------------|---------------------------------------------------------------------------------------------| | **created** | The export task has been created, but the process has not started. | | **processing**| The export task is in progress. | | **done** | The export task is completed, and the response contains URLs for downloading the documents. | | **error** | An error occurred during the execution of the export task. |
  - `docx_items` object[] — DOCX files result URLs with their names.
    - `section_title` string, nullable — Document Section Item title.
    - `url` string, url, nullable — The url for downloading the DOCX file.

## Other responses

- `401` — Authentication error
- `403` — Permission error
- `404` — Not found error
- `429` — Too many requests error

---

[API](https://skmtc.net/pandadoc/apis/pandadoc-public-api.md) · [All operations](https://skmtc.net/pandadoc/apis/pandadoc-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandadoc/pandadoc-public-api/versions/0c2b70be3fb0/schema)
