---
title: "Document export API"
subtitle: "Version 1.0 · Client integration notes"
---

# Purpose

Submit approved content to create an export job. Show a download link only after the job reaches the `completed` state.

# Request example

```json
{
  "format": "docx",
  "title": "Project brief",
  "include_page_numbers": true
}
```

# Fields

| Field | Type | Meaning |
| :--- | :--- | :--- |
| format | string | Output format |
| title | string | Document title |
| include_page_numbers | boolean | Add page numbers |

# Error handling

- Missing file: ask the user to select the source again.
- Interrupted connection: keep the job ID and check its status.
- Unsupported format: explain the accepted formats before retrying.
