Signed webhooks for finished transcriptions

Add a transcription webhook with webhook_url when you create a job. transcript1 sends a signed POST when the job completes or fails. Your code can wait for the event instead of polling.

  • transcription.completed and transcription.failed
  • HMAC-SHA256 signature on every delivery
  • Up to 6 attempts with exponential backoff

Receive the outcome, then fetch the transcript

Two events
transcription.completed and transcription.failed. A canceled transcription sends no webhook.
Signed deliveries
Every request carries X-Transcript1-Signature with a timestamp and an HMAC-SHA256 of the raw body, keyed with your team's whsec_ secret.
Retries
Any 2xx counts as delivered. Otherwise transcript1 retries with 2, 4, 8, 16 and 32 minute waits, up to 6 attempts in total.
Safe by default
The URL must be HTTPS and resolve to a public address. It is checked when you create the transcription and at every delivery.
Small payloads
The event carries the transcription object without the transcript. Fetch the transcript by id in the format you need.

Add a webhook_url to the request

Works on supported video link requests, chunked upload reservations and as a form field on one-shot uploads. It cannot be combined with reuse_recent. See webhook request parameters before adding the URL to your integration.

Choose webhooks for a background workflow that continues after the original request finishes: processing interview uploads, preparing an episode archive or collecting transcripts from a list of social videos. Persist the transcription id with your own job record so the callback can be associated with the right user action.

Use the final public HTTPS endpoint rather than a redirecting address. The service checks the destination at creation and on delivery. During development, localhost is not a valid receiver. The example below uses a file upload so the same notification workflow can be tested with a recording under your control.

Upload with a completion webhook
curl -X POST "https://api.transcript1.com/v1/transcriptions" \
  -H "Authorization: Bearer $TRANSCRIPT1_API_KEY" \
  -F [email protected] \
  -F webhook_url=https://example.com/hooks/transcript1

Receive the event

data is the transcription object without the transcript. Use data.id and type to ignore duplicate deliveries, then fetch the completed transcript through the API.

Design the handler for at-least-once delivery. A request can reach your server, be processed and still be retried if the response arrives after the ten-second timeout. Persist a deduplication key based on the transcription id and event type before performing an action such as publishing an article or notifying a user.

After signature verification, durably record or enqueue the event and return a 2xx response promptly. Fetch the transcript in a background task using data.id. For transcription.failed, inspect data.error and update your job status. A canceled transcription sends no callback, so your cancellation path must update its own state.

POST to your URL
X-Transcript1-Signature: t=<unix seconds>,v1=<hex digest>

{
  "type": "transcription.completed",
  "created_at": "2026-10-13T09:30:04.000Z",
  "data": {
    "id": "tr_8fK2Lm0PqRsTuVwXyZaBcD",
    "object": "transcription",
    "status": "completed",
    "transcript_source": "speech_to_text",
    "billed_minutes": 4,
    "error": null
  }
}

Verify the HMAC-SHA256 signature

Sign the string t, a dot, then the raw body with HMAC-SHA256 and your whsec_ secret. Compare in constant time. Reject timestamps far from the current time. The full signature-verification guide includes header validation and complete examples.

Read the request body exactly as delivered before a JSON parser changes it. Re-serializing parsed JSON can alter whitespace or key order and break verification. Validate the timestamp and signature header, compare equal-length digests in constant time, and parse the body only after the signature check succeeds.

The abbreviated digest calculation below assumes you already extracted and validated t and v1. The full documentation includes complete Node.js and Python verification examples with a five-minute timestamp tolerance. Use the full whsec_ secret, including its prefix. Rotating the team secret changes the key used for subsequent deliveries immediately.

Node.js
const expected = crypto
  .createHmac('sha256', secret)
  .update(`${t}.${rawBody}`)
  .digest('hex');
const valid = v1.length === expected.length
  && crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(expected));

Test the receiver’s failure paths before relying on it

Exercise a completed event, a failed event and a duplicate delivery against your handler. Confirm that the same completion does not publish twice and that a failed transcription does not trigger a fetch-and-publish path with no transcript. Check signature rejection separately from application processing errors.

The delivery timeout is ten seconds. Avoid waiting for slow indexing or model work before acknowledging the request. A durable queue gives you a place to retry downstream work after acknowledging the webhook. That queue is part of your application; the service’s webhook retry schedule is not a replacement for it.

Non-2xx responses, connection errors and timeouts cause retries after 2, 4, 8, 16 and 32 minutes, for six total attempts. Redirects are not followed. Log the job id, event type and delivery outcome so you can distinguish a receiver problem from a transcription problem without logging your signing secret.

If delivery attempts are exhausted, your application can reconcile known job ids through the GET transcription endpoint. Maintain those ids from creation rather than making callback delivery the only record that a job exists. This also lets an operator investigate a missing notification without submitting the media again.

Start with 60 free minutes

60 free minutes after you verify your email. No card required.

Get your API key

Frequently asked questions

Something missing? Ask support

Where do I find my signing secret?

On the Webhooks page of the dashboard. It starts with whsec_, belongs to your team and can be rotated there at any time.

How do transcription webhook retries work?

A failed delivery is retried with exponential backoff, up to 6 attempts in total over about an hour. The timeout per attempt is 10 seconds and redirects are not followed.

Do webhooks work with MCP?

No. Webhooks are part of the REST API only. The MCP tools wait for the result or return an id to read later.