---
title: "Create an export"
method: POST
path: "/exports"
tags: ["Exports"]
---

# Create an export

`POST /exports`

## Request

- Base URL: `https://www.happyscribe.com/api/v1`
- URL: `https://www.happyscribe.com/api/v1/exports`
- Auth: API key in header `Authorization`

Creates a new export of one or more conversations. Generation is generally fast
(~10s per file). Poll the export until its state is `ready`, then download it
from `download_link`.

For the `mp3` and `mp4` formats no conversion is performed — the response returns
`state: "ready"` and the `download_link` immediately, with exactly one
`conversation_id` per request. The link is a short-lived signed URL.

## Request body

- object
  - `export` object, required
    - `format` 'txt' | 'docx' | 'pdf' | 'srt' | 'vtt' | 'stl' | 'avid' | 'avid_script' | 'avid_ds_subtitles' | 'avid_edl' | 'facebook_srt' | 'html' | 'premiere' | 'maxqda' | 'json' | 'fcp' | 'edl' | 'csv' | 'xlsx' | 'mp3' | 'mp4', required: Export format: - `txt` — Text Document - `docx` — Word Document - `pdf` — PDF Document - `srt` — Subtitles (SubRip) - `vtt` — Subtitles (WebVTT) - `stl` — Subtitles (EBU-STL) - `avid` — Avid Markers - `avid_script` — Avid ScriptSync (Beta) - `avid_ds_subtitles` — Avid DS Subtitles - `avid_edl` — Avid Edit Decision List - `facebook_srt` — Facebook Subtitles - `html` — Interactive Transcript - `premiere` — Premiere Pro (Beta) - `maxqda` — Maxqda - `json` — JSON - `fcp` — Final Cut Pro - `edl` — DaVinci Resolve Markers - `csv` / `xlsx` — Excel - `mp3` — Source audio - `mp4` — Source video (video conversations only)
    - `conversation_ids` string[], required: IDs of the conversations to export.
    - `show_timestamps` boolean: Include timestamps (`txt`, `docx`, `pdf` only).
    - `timestamps_frequency` '5s' | '10s' | '15s' | '20s' | '30s' | '60s': Include inline timecodes at a given frequency.
    - `show_speakers` boolean: Include speaker labels (`txt`, `docx`, `pdf` only).
    - `show_comments` boolean: Include comments (`txt`, `docx`, `pdf` only).
    - `show_highlights` boolean: Include highlights (`docx`, `pdf` only).
    - `show_highlights_only` boolean: Include only highlights (`docx`, `pdf` only).

## Response `200`

The created export.

- Export
  - `id` string
  - `state` 'pending' | 'processing' | 'ready' | 'expired' | 'failed': - `pending` — waiting to be processed - `processing` — the export is being generated - `ready` — ready to download - `expired` — no longer available - `failed` — a problem occurred
  - `format` 'txt' | 'docx' | 'pdf' | 'srt' | 'vtt' | 'stl' | 'avid' | 'avid_script' | 'avid_ds_subtitles' | 'avid_edl' | 'facebook_srt' | 'html' | 'premiere' | 'maxqda' | 'json' | 'fcp' | 'edl' | 'csv' | 'xlsx' | 'mp3' | 'mp4': Export format: - `txt` — Text Document - `docx` — Word Document - `pdf` — PDF Document - `srt` — Subtitles (SubRip) - `vtt` — Subtitles (WebVTT) - `stl` — Subtitles (EBU-STL) - `avid` — Avid Markers - `avid_script` — Avid ScriptSync (Beta) - `avid_ds_subtitles` — Avid DS Subtitles - `avid_edl` — Avid Edit Decision List - `facebook_srt` — Facebook Subtitles - `html` — Interactive Transcript - `premiere` — Premiere Pro (Beta) - `maxqda` — Maxqda - `json` — JSON - `fcp` — Final Cut Pro - `edl` — DaVinci Resolve Markers - `csv` / `xlsx` — Excel - `mp3` — Source audio - `mp4` — Source video (video conversations only)
  - `show_timestamps` boolean
  - `show_speakers` boolean
  - `show_comments` boolean
  - `show_highlights` boolean
  - `conversation_ids` string[]
  - `download_link` string: Present when `state` is `ready`. For `mp3`/`mp4` it is a short-lived signed URL.

## Other responses

- `401`: Your API key is missing (`missing_api_key`) or wrong (`invalid_api_key`), or it may not access this resource (`unauthorized`).
- `422`: The request failed validation. Each error names its `field`.

---

[API](https://skmtc.dev/happyscribe/apis/happyscribe-api.md) - [All operations](https://skmtc.dev/happyscribe/apis/happyscribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/happyscribe/apis/happyscribe-api/revisions/1281bd968c3d?raw)
