Skip to main content
POST
Create transcription task

Authorizations

Authorization
string
header
required

Workspace API key generated in HearDraft (https://heardraft.com/app/developers/api).

Headers

Idempotency-Key
string
required

Unique request key (8–128 characters: letters, digits, ., _, or -). Reuse the same key and payload when safely retrying a submission.

Pattern: ^[A-Za-z0-9._-]{8,128}$
Example:

"interview-2026-11-24-001"

Content-Length
integer
required

Exact byte size of the raw media payload (1 byte up to 100 MB).

Required range: 1 <= x <= 104857600

Query Parameters

filename
string
required

Original filename with a supported audio or video extension (max 160 chars).

Maximum string length: 160
Example:

"interview.wav"

language
string
default:auto

Language code (such as en, ja, de, fr, es, zh) or auto for automatic detection.

Example:

"auto"

Body

Raw audio or video binary payload (up to 100 MB and 10 hours).

The body is of type file.

Response

Transcription task accepted and queued.

id
string<uuid>
required

Unique transcription job ID.

Example:

"8b1e23fa-4c2b-4a8e-9b19-1d63df06a012"

sourceId
string<uuid>
required

Source ID inside the HearDraft workspace where this recording and transcript appear.

Example:

"1f9c2810-79a4-4f25-8f55-c2e60ad1a4be"

status
enum<string>
required

Current processing status of the transcription task.

Available options:
queued,
running,
ready,
failed,
canceled
Example:

"ready"

expiresAt
string<date-time> | null
required

ISO-8601 expiration timestamp, or null when retained on an active paid plan.

Example:

null

result
object | null
required
error
object | null
required