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.

2 events covered

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

Signature header
None (unsigned)
How events are identified
hook.event field in the body
Body format
JSON
API versioning
version in the body

Seen: 2023-10-30.

Other headers
x-truework-token
Envelope
version, hook, data
Agent skill
npx skills add hookdeck/webhook-skills --skill truework-webhooks

Verify Truework webhooks →

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 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

  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 →
  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 →
  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 →
  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 →

Truework webhook best practices

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

order.completed · verification_request.state.change

2 2

All 2 events →

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.

Not affiliated with Truework. Facts are compiled from public sources and linked inline.