# Speechmatics webhooks

Speechmatics webhooks, which its docs call notifications, are the HTTP requests a batch transcription job sends to each URL in its `notification_config` when the job finishes.

Agent skill: `npx skills add hookdeck/webhook-skills --skill speechmatics-webhooks` ([details](https://hookdeck.com/webhooks/speechmatics/skill))

> Independent reference generated from hookdeck/webhook-registry (commit ff7f882, 20 Nov 2026). [Speechmatics's official docs](https://docs.speechmatics.com/speech-to-text/batch/notifications).

[Overview](https://hookdeck.com/webhooks/speechmatics) · [MCP events](https://hookdeck.com/webhooks/speechmatics/mcp-events) · [Verify signatures](https://hookdeck.com/webhooks/speechmatics/verify) · [Production guide](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts) · [Agent skill](https://hookdeck.com/webhooks/speechmatics/skill)

## Key facts

| Fact | Value | Source |
|---|---|---|
| Signature header | `None (unsigned)` | [Speechmatics docs](https://docs.speechmatics.com/speech-to-text/batch/notifications) |
| How events are identified | `None: the outcome is in the status query parameter` | [Speechmatics docs](https://docs.speechmatics.com/speech-to-text/batch/notifications) |
| Body format | `JSON` Content type: application/json, text/plain, multipart/form-data, application/octet-stream. | [Speechmatics docs](https://docs.speechmatics.com/speech-to-text/batch/notifications) |
| Other headers | `user-agent` | [Speechmatics docs](https://docs.speechmatics.com/speech-to-text/batch/notifications) |
| Agent skill | `npx skills add hookdeck/webhook-skills --skill speechmatics-webhooks` | [Agent skill →](https://hookdeck.com/webhooks/speechmatics/skill) |

[Verify Speechmatics webhooks](https://hookdeck.com/webhooks/speechmatics/verify)

## How Speechmatics webhooks work

A notification saves you polling the jobs API for a finished transcript. Notifications are configured on the job: you add `notification_config` to the job config when you submit the job, with up to 3 URLs. Speechmatics calls each one with `POST`, or `PUT` if that entry sets `method`, and callbacks run in parallel.

Speechmatics has no event types, envelope or version for these requests. It appends the job ID and outcome to your URL, as in `?id=r6sr3jlzjj&status=success`, where `status` is `success`, `error`, `fetch_error` or `trim_error`. These aren't the job status values from the jobs API. The body is whatever the entry lists in `contents`: one item is sent as the raw body and two or more as `multipart/form-data`, so branch on `Content-Type` before you parse.

## Setting up Speechmatics webhooks

- Add a `notification_config` entry to the job config with `url`, `contents` and `auth_headers`. It belongs to the job, so every job your code submits must carry it.
- Generate a long random value and send it as a `Name: value` string in `auth_headers`. It's the credential your service accepts, not your Speechmatics API key.
- Test through a public URL: `hookdeck listen 3000 speechmatics --path /webhooks/speechmatics` gives you one and forwards requests to your machine. Submit a short audio file with `contents` set to `jobinfo`.
- Speechmatics documents no way to resend a notification. Fetch the result from the API by job ID, or submit the job again.

## Delivery behaviour

- **Timeout:** Not documented. the failure example on the docs page records a client timeout as a failed attempt. [Guide](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#timeouts)
- **Retries:** Until a set threshold. after any non-2xx; the threshold and interval aren't stated, and the docs' example ends after about a minute. [Guide](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#retries)
- **After retries:** Recorded on the job. in `errors` on `GET /jobs/{id}`, and the transcript stays in the API for 7 days. [Guide](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#retries)
- **Ordering:** Any order. callbacks run in parallel and may complete in any order. [Guide](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#ordering)

## Known failure modes

1. **Your outage outlasts the retries.** Speechmatics retries a non-2xx until a threshold its docs don't state, and the example on its page ends after four attempts in about a minute. The transcript stays in the API for 7 days, so fetch what you missed from there. [Recover missed notifications](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#retries)
2. **The same notification arrives twice.** Speechmatics sends a notification again after a non-2xx or a timeout, so a handler that finished late can see it twice. It documents no delivery ID, so deduplicate on the job `id` and `status`. [Handle duplicates](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#duplicates)
3. **The body isn't the shape you expected.** The body depends on `contents`, and Speechmatics' two docs pages disagree on what a missing `contents` sends. Set `contents` on every notification and branch on `Content-Type` before you parse. [Tell notifications apart](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#choosing-events)
4. **A 413 is retried, not dropped.** If a body is too large for your server, the `413` counts as a failed delivery and Speechmatics sends it again. Raise your size limit to fit what you request, or stop requesting `data`. [Size limits](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#other-limits)

From [Hookdeck's Speechmatics guide](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts).

## Speechmatics webhook best practices

- **[Return a 2xx quickly](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#timeouts).** Speechmatics doesn't state its response timeout. Check the header, store the notification, respond, and do the work afterwards.
- **[Deduplicate on the job and its status](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#duplicates).** Retries can repeat a notification, and Speechmatics documents no delivery ID. Record the job `id` with `status`, plus the content you requested if one endpoint receives several.
- **[Wait for every callback you need](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#ordering).** Callbacks run in parallel, and some can succeed while others fail. Key each by job ID and content, and start a dependent step once all of them are present.
- **[Check for jobs that never called back](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#retries).** Run a periodic check for finished jobs with no callback, and fetch their results from the API within the 7-day retention period.
- **[Set contents on every notification](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#choosing-events).** An empty list and a missing field behave differently, so name what you want. Request `jobinfo` or one transcript format, and leave `data` out unless you need the media back.
- **[Build the job config in one place](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts#other-limits).** The header lives on each job, so a single function keeps it from being forgotten and makes rotating the value a one-line change.

## In this hub

- [MCP events](https://hookdeck.com/webhooks/speechmatics/mcp-events): How an agent subscribes to Speechmatics events as MCP events.
- [Verify signatures](https://hookdeck.com/webhooks/speechmatics/verify): Signature facts, verification code and common failures.
- [Production guide](https://hookdeck.com/webhooks/speechmatics/guide-duplicates-ordering-retries-timeouts): Production problems, such as timeouts and retries, and how to handle them.
- [Agent skill](https://hookdeck.com/webhooks/speechmatics/skill): Install the webhook skill in your coding agent. `npx skills add hookdeck/webhook-skills --skill speechmatics-webhooks`
---

Not affiliated with Speechmatics. Facts are compiled from public sources and linked inline. [View as JSON](https://hookdeck.com/webhooks/speechmatics.json) · [Report a correction](https://hookdeck.com/contact)
