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.
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.
Key facts
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:
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 firesorder.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
Not documented Truework publishes no response timeout, so return a 200 as soon as the token checks out. Retries Over 48 hours Failed webhooks are retried periodically for 48 hours. The interval, and what counts as a failure, aren't documented. 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. 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. Known failure modes
From Hookdeck's Truework guide →-
The same event arrives twice
Truework can send an event more than once, and
Deduplicate deliveries →hook.ididentifies the webhook rather than the event. Build a key fromhook.event,data.order_id,data.verification_request_idanddata.state. -
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
Recover after an outage →GET /ordersand read the ones you haven't closed. -
A handler misses the action-required state
Truework's event reference lists
Test the spelling in Sandbox →action-requred, while its overview and test cases spell itaction-required. Accept both until you've seen a real delivery, and alert on any state you don't recognise. -
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 →
Truework webhook best practices
- Check the token on every request.
Compare
X-Truework-Tokenwith the token for that webhook in constant time, and reject anything that doesn't match with a401. - Answer 200 to events you don't handle.
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.
Truework recommends
order.completedfor Credentials and Documents, andverification_request.state.changefor Smart Outreach. Instant needs no webhook. - Build your own idempotency key.
No event ID is documented. Combine
hook.event,data.order_id,data.verification_request_idanddata.state, and store the key before you process. - Read the order from the API.
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.
Truework publishes no timeout, so check the token, store the body, return a
200and process it in a background job.
Common Truework webhook events
Orders
order.completed | Every verification on an order is completed or canceled |
Verification requests
verification_request.state.change | A verification request within an order changes state |
Events
| Resource | Events | Payloads |
|---|---|---|
Truework events | 2 | 2 |
In this hub
| Webhook events → | Every covered Truework event, with payloads where the registry has them. |
| MCP events → | How an agent subscribes to Truework events as MCP events. |
| Verify signatures → | Signature facts, verification code and common failures. |
| Production guide → | Production problems, such as timeouts and retries, and how to handle them. |
| Agent skill → | Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill truework-webhooks |
Keep an outage from outlasting Truework's 48-hour retries.
Event Gateway checks the webhook token, accepts each Truework delivery as it arrives and queues it, so your service can catch up after an outage and retries run on your schedule.