> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cleartextlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export Transcript

> Export transcript as a Word document

Exports the transcript as a formatted Microsoft Word (.docx) document, including call metadata, timestamps, and speaker labels.

<Info>
  This endpoint requires a **Pro** or **Business** subscription with the `word_export` feature.
</Info>

## Path Parameters

<ParamField path="id" type="string" required>
  The recording ID
</ParamField>

## Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://app.transcord.app/api/v1/recordings/clx1234567890/export" \
    -H "Authorization: Bearer tr_live_your_api_key" \
    -o transcript.docx
  ```

  ```javascript Node.js theme={null}
  const recordingId = 'clx1234567890';
  const response = await fetch(`https://app.transcord.app/api/v1/recordings/${recordingId}/export`, {
    headers: {
      'Authorization': 'Bearer tr_live_your_api_key'
    }
  });

  const blob = await response.blob();
  // Save or process the Word document
  ```

  ```python Python theme={null}
  import requests

  recording_id = 'clx1234567890'
  response = requests.get(
      f'https://app.transcord.app/api/v1/recordings/{recording_id}/export',
      headers={'Authorization': 'Bearer tr_live_your_api_key'}
  )

  with open('transcript.docx', 'wb') as f:
      f.write(response.content)
  ```
</CodeGroup>

## Response

On success, returns the Word document as a binary file with headers:

```
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Content-Disposition: attachment; filename="transcript-{id}.docx"
```

## Document Contents

The exported Word document includes:

* **Header**: "CALL TRANSCRIPT" title
* **Call Details**: To number, From number, Date/time, Duration
* **Transcript**: Speaker-labeled paragraphs with timestamps
* **Footer**: "Generated by Transcord"

## Errors

| Status | Description                            |
| ------ | -------------------------------------- |
| `202`  | Transcript not ready yet               |
| `401`  | Invalid or missing API key             |
| `403`  | Word export not available on your plan |
| `404`  | Recording not found                    |
