# Truework webhooks

Truework webhooks are JSON `POST` requests that tell you when an income or employment verification order has finished, or when a verification request inside it changes state.

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

> Independent reference generated from hookdeck/webhook-registry (commit ff7f882, 20 Nov 2026). [Truework's official docs](https://www.truework.com/docs/api-reference/webhooks/security).

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

## Key facts

| Fact | Value | Source |
|---|---|---|
| Signature header | `None (unsigned)` | [Truework docs](https://www.truework.com/docs/api-reference/webhooks/security) |
| How events are identified | `hook.event field in the body` | [Truework docs](https://www.truework.com/docs/api-reference/webhooks/events/order-completed) |
| Body format | `JSON` | [Truework docs](https://www.truework.com/docs/api-reference/webhooks) |
| API versioning | `version in the body` Seen: 2023-10-30. | [Truework docs](https://www.truework.com/docs/api-reference/webhooks) |
| Other headers | `x-truework-token` | [Truework docs](https://www.truework.com/docs/api-reference/webhooks/security) |
| Envelope | `version, hook, data` | [Truework docs](https://www.truework.com/docs/api-reference/webhooks/security) |
| Agent skill | `npx skills add hookdeck/webhook-skills --skill truework-webhooks` | [Agent skill →](https://hookdeck.com/webhooks/truework/skill) |

[Verify Truework webhooks](https://hookdeck.com/webhooks/truework/verify)

## How Truework webhooks work

Truework processes target employer orders asynchronously, so webhooks tell you when results are ready and you don't have to poll the order. A delivery names the order and, for a state change, the verification request and its new state. It doesn't carry the report: you fetch results with `GET /orders/{order_id}`.

The body has three top-level keys: `version`, `hook` and `data`. The event name is in `hook.event`, and `hook.id` is the webhook's ID, not an ID for the event. Each subscription is to a specific version of the event, and Truework's examples show `2023-10-30`. You can upgrade a subscription but not downgrade it, new subscriptions only get the latest version, and `version` is the only field Truework says is consistent across versions.

## Setting up Truework webhooks

- In the Truework app, open developer settings, select **< > Developer**, scroll to **Webhooks**, and click **Edit** under **Sandbox** or **Production**. Choose the events, enter the URL and click **Create**. A service account can have ten webhooks.
- To test locally, run the [Hookdeck CLI](/docs/cli): `hookdeck listen 3000 truework --path /webhooks/truework`, then use its URL for a Sandbox webhook.
- To trigger a delivery, create a Sandbox order with a test SSN from Truework's test cases. Its quickstart uses `000-00-0000`, which completes at once and fires `order.completed`. Truework documents no way to resend a delivery.
- To receive through Event Gateway, create a source with the Truework type, use its URL as the webhook URL, and enter the webhook's token. Give each Truework webhook its own source, because each has its own token.

## Delivery behaviour

- **Timeout:** Not documented. Truework publishes no response timeout, so return a `200` as soon as the token checks out.. [Guide](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#timeouts)
- **Retries:** Over 48 hours. Failed webhooks are retried periodically for 48 hours. The interval, and what counts as a failure, aren't documented.. [Guide](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#retries)
- **After a failure:** Email alert. Truework emails the service account about webhooks that fail to send. It doesn't document a way to resend one after the 48 hours.. [Guide](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#retries)
- **Duplicates:** Possible. An event can be sent more than once, and no event ID or delivery header is documented. `hook.id` is the webhook's ID.. [Guide](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#duplicates)

## Known failure modes

1. **The same event arrives twice.** Truework can send an event more than once, and `hook.id` identifies the webhook rather than the event. Build a key from `hook.event`, `data.order_id`, `data.verification_request_id` and `data.state`. [Deduplicate deliveries](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#duplicates)
2. **An outage outlasts the retries.** Truework retries failed webhooks for 48 hours and documents no way to resend them after that. After a longer outage, list your orders with `GET /orders` and read the ones you haven't closed. [Recover after an outage](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#retries)
3. **A handler misses the action-required state.** Truework's event reference lists `action-requred`, while its overview and test cases spell it `action-required`. Accept both until you've seen a real delivery, and alert on any state you don't recognise. [Test the spelling in Sandbox](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#testing)
4. **Every delivery fails after you recreate a webhook.** A webhook you delete and create again gets a new token, even with the same URL. Update your stored token at the same time, or every delivery fails your check. [Keep tokens in step](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#other-limits)

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

## Truework webhook best practices

- **[Check the token on every request](https://hookdeck.com/webhooks/truework/verify).** Compare `X-Truework-Token` with the token for that webhook in constant time, and reject anything that doesn't match with a `401`.
- **[Answer 200 to events you don't handle](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#choosing-events).** Truework says to ignore unknown events but still respond with a `200`. Otherwise, adding a subscription can cause errors, retries and failure emails.
- **[Pick the event for your verification method](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#choosing-events).** Truework recommends `order.completed` for Credentials and Documents, and `verification_request.state.change` for Smart Outreach. Instant needs no webhook.
- **[Build your own idempotency key](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#duplicates).** No event ID is documented. Combine `hook.event`, `data.order_id`, `data.verification_request_id` and `data.state`, and store the key before you process.
- **[Read the order from the API](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#ordering).** Deliveries carry IDs and a state, not results. `GET /orders/{order_id}` gives you the current state, whichever delivery arrived last.
- **[Acknowledge before you do the work](https://hookdeck.com/webhooks/truework/guide-duplicates-ordering-retries-timeouts#timeouts).** Truework publishes no timeout, so check the token, store the body, return a `200` and process it in a background job.

## Common Truework webhook events

### Orders

- [order.completed](https://hookdeck.com/webhooks/truework/events#order.completed): Every verification on an order is completed or canceled

### Verification requests

- [verification_request.state.change](https://hookdeck.com/webhooks/truework/events#verification_request.state.change): A verification request within an order changes state

## Events

| Resource | Events | Payloads |
|---|---|---|
| [Truework events](https://hookdeck.com/webhooks/truework/events#resource-other) | 2 | 2 |

[All 2 events](https://hookdeck.com/webhooks/truework/events)

## In this hub

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

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