Skip to main content
Network drops and timeouts happen during large audio or video uploads. The HearDraft API requires an Idempotency-Key header on every POST /api/v1/transcriptions request so your backend can retry safely without creating duplicate transcription jobs.

Idempotency-Key rules

Tie the key to your own stable media asset identifier and version, rather than generating a fresh random UUID on every retry attempt:

Safe retry strategy

  • Retry with exponential backoff + jitter on 429, 503, 409 UPLOAD_IN_PROGRESS, or network timeouts — always keeping the same Idempotency-Key and identical payload.
  • Do not retry on 400, 401, 403, 409 IDEMPOTENCY_CONFLICT, 411, 413, or 415 without fixing the request parameters, credentials, or file first.
  • Polling interval: Poll GET /api/v1/transcriptions/{id} every 3–5 seconds for short recordings and 10–15 seconds for multi-hour files to stay comfortably inside the 120 requests/minute workspace limit.