1
Generate a workspace API key
Sign in to an account with an active annual plan, open Developers → API Keys, and create a new key. Store it as a server-side environment variable (
HEARDRAFT_API_KEY).2
Submit a recording
Send the raw audio or video bytes to A successful upload returns HTTP
POST /api/v1/transcriptions. Include filename and optional language (auto by default) in the query string, along with Content-Type, Content-Length, and a unique Idempotency-Key.202 Accepted with a Location header pointing to /api/v1/transcriptions/{id}.3
Poll until status is ready
Poll
GET /api/v1/transcriptions/{id} every 3–5 seconds while status is queued or running.4
Consume timestamped segments
When
status becomes ready, result contains the full text, durationSeconds, and segments with millisecond timing: