Webhook Reliability: Retry and DLQ in 9 Steps (2026)
Verify the signature, answer 2xx fast, deduplicate on event ID, dead-letter events that need intervention, alert on destination health, and recover by reading the current decision instead of replaying a stale payload.

Contents
In this guide
Jump to the part you need.
This guide fits teams that already receive Didit webhooks and need the retry and dead letter layer around them: signature verification, idempotent processing, alerting, and recovery for session status events. Our public price list shows no separate webhook delivery rate. The checks that produce events are metered, for example $0.33 per completed full ID check. The caveat: delivery only helps when your receiver verifies events, deduplicates them, and reconciles current state correctly.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Value | Where it comes from |
|---|---|---|
| Recommended signature header | X-Signature-V2, HMAC-SHA256 over sorted canonical JSON | Didit webhooks guide |
| Timestamp tolerance | 300 seconds | Didit webhooks guide |
| HMAC input | X-Signature-V2: sorted, Unicode-preserved canonical JSON. X-Signature: exact raw request bytes. | Didit webhooks guide |
| Event subscription | Exact event names in subscribed_events, no wildcard | List webhook destinations API |
| Destination health values | healthy, degraded, failing | List webhook destinations API |
| Retries | Bounded, run by Didit | Didit webhooks guide |
| Recovery source of truth | GET /v3/session/{session_id}/decision/ for session status events; delivery history for a missing delivery | Didit webhooks guide and Management API |
| Webhook delivery price | No separate webhook delivery rate on our public price list | Live price feed, November 26, 2026 |
| Full ID check price | $0.33 per completed check | Live price feed, November 26, 2026 |
| Dead letter | An accepted event that still needs operator attention | This guide |
Start free in the sandbox at business.didit.me, no sales call. For developers, connect Didit to an AI assistant through Didit MCP server setup. Every module price is on the pricing page.
Who owns retry and recovery
Keep delivery and processing separate. Didit owns delivery attempts and its own retry policy. You own idempotent processing, dead letter records for accepted events that need operator attention, and current-state reconciliation for known sessions. The table below is the short version to paste into a runbook.
| Situation | Didit owns | You own | First action |
|---|---|---|---|
| Failed delivery attempt | Bounded retries per destination, recorded in delivery attempts | Receiver availability, security logging, and alert response | Check destination health and the receiver log for the request |
| Duplicate authenticated event | May retry the same event | Deduplication on event_id and idempotent downstream updates | Ignore the duplicate side effect and keep one state change |
| Temporary processing failure after acceptance | No delivery retry for a request the receiver acknowledged with HTTP 2xx | Processing state and idempotent updates | Fix the processing issue, then reconcile the current decision for a known session event |
| Processing failure that needs intervention | No automatic recovery | Dead letter, owner assignment, and current-state reconciliation | Open the dead letter and reconcile the decision for the known session |
Outcome and the method we recommend
The outcome is a receiver that can prove three things: every accepted event was authentic, every accepted event was processed idempotently, and every accepted event that still needs attention is tracked with a reason and an owner.
We sign deliveries and retry failed attempts within our retry policy. You own verification, idempotency and dead letter records for accepted events that still need operator attention. For status.updated session events, recovery is a current-state read from the decision endpoint, not a replay of an old payload. A resend is a separate recovery option.
Prerequisites
- A Didit application and an API key sent as
x-api-key. Reading destination activity needs theread:webhooksscope. - One destination per receiving URL, created in the Business Console or through the Management API, with exact event names in
subscribed_events. - The destination signing secret from the single-destination call. The list call returns only
secret_last4. - An HTTP endpoint that reads the raw body before parsing, plus a constant-time comparison function.
- An application-side dead letter concept with an event reference, failure reason, attempt count, received timestamp and a named owner.
- Scope for the worked receiver and recovery drill:
status.updatedsession events. Prices for the checks behind these events are on the pricing page, and the scope itself is the User Verification product page. Other families have their own documented payloads.
Build the receiver in 9 steps
- Register the destination and subscribe to exact event names. There is no wildcard. Add each exact event name, such as
status.updated, tosubscribed_events. Create separate destinations when separate services need separate exact event names. Confirm the list with the destinations call below. The worked receiver and recovery drill in this guide are scoped tostatus.updatedsession events; route entity, transaction, investigator, travel rule and bank events with their documented payloads and do not assume the session fields below apply. - Read the raw body first. Capture the raw body. For
X-Signature-V2, derive sorted, Unicode-preserved canonical JSON for the HMAC calculation. ForX-Signature, use the exact raw bytes. Use payload fields for routing or updates only after verification succeeds. - Reject stale and unauthenticated deliveries. Take
X-Timestamp, Unix epoch seconds at dispatch, and refuse anything outside 300 seconds of now. Recompute the HMAC and compare it in constant time against the corresponding header and secret: the current header uses the current secret, and the Previous header uses the replaced secret. Previous headers are sent for 24 hours after destination-secret rotation and are never sent for the legacy application webhook URL. This does not promise a gap-free rotation. - Answer 2xx promptly. Verify the signature and timestamp, return HTTP 2xx promptly, and apply updates idempotently. For
status.updatedsession events, useevent_idas the deduplication key for repeated deliveries of the same event. Idempotency is per event, not per session. - Route on
webhook_type, then onstatus. This worked receiver handlesstatus.updatedsession events. Status strings are exact, case-sensitive and contain spaces, andKyc Expireduses a single capital K. The decision object is present only on the four decision-bearing session statuses: Approved, Declined, In Review and Abandoned. A handler that assumes it always exists will fail on progress events. Other event families have their own payloads. - Separate rejected delivery from processing failure. HTTP 400 and above counts as a failed delivery attempt. A dead letter does not control our retry policy. Create a dead letter record when an authenticated, accepted event has a processing failure that needs operator attention. Keep rejected requests in security logs with minimal metadata.
- Alert on Didit delivery signals, not only on your logs.
GET /v3/webhook/destinations/returnshealth_statusper destination withfailing_streakandfailing_since. Use the failure activity API to list recorded failure alerts; these are distinct from individual delivery attempts. Destination health is independent of whether the destination is enabled. A receiver cannot log requests it never receives, so destination health is a separate alerting signal. Degraded means an unresolved failed attempt in the last 24 hours when the destination is not already failing. Failing means three or more consecutive events failed their first attempt since the last successful response. - Recover from current state and delivery history. For a
status.updatedsession event, use the session ID from a verified event or an existing session record.GET /v3/session/{session_id}/decision/reads current state; it is not a resend. When no request reached the receiver, start with Didit's delivery history to investigate the missing delivery. Apply the current decision only when reconciling known session state. Label a resend as a separate recovery option. - Run a recovery drill. In sandbox, test one subscribed
status.updatedsession event, one duplicate and one failed delivery. Confirm the valid delivery in delivery history. Confirm that the duplicate produces one downstream state change in total. For the failed delivery, inspect its attempt record and reconcile the current decision for the known session. Check the failure activity API for any recorded alert separately. Success means the event is accepted only after signature verification, the duplicate causes no second state change, and the failed delivery appears in destination health or delivery history while the known session's current decision is reconciled.
The runnable examples below cover the destinations read, the failure activity read and the current decision read.
curl -X GET 'https://verification.didit.me/v3/webhook/destinations/' \
-H 'x-api-key: YOUR_API_KEY'
curl -X GET 'https://verification.didit.me/v3/organization/ORGANIZATION_ID/application/APPLICATION_ID/webhook/destinations/DESTINATION_UUID/activity/' \
-H 'x-api-key: YOUR_API_KEY'
curl -X GET 'https://verification.didit.me/v3/session/SESSION_ID/decision/' \
-H 'x-api-key: YOUR_API_KEY'
Expected output
The destinations call returns a JSON array, not paginated, ordered by creation time oldest first. There is no summary object. Read these fields first:
uuid,url,label,enabled: identity and basic configuration.webhook_version: v3 is current. Check that your receiver handles the configured version.subscribed_events: the list you actually get. Compare it with the exact event names your router handles.health_status,failing_streak,failing_since: the alerting signal.deliveries_count,failed_deliveries_count,average_response_time_ms,error_rate_percentage: 30-day metrics, sometrics_window_daysis always 30.daily_points: 30 entries, oldest first, one per UTC day, with zeros on quiet days.last_success_at: the last answer under HTTP 400 within 30 days, or null.secret_last4: identity only. The full secret comes from the single-destination call.
Separate configuration checks from destination health. Configuration checks cover webhook_version and subscribed_events. Destination health covers health_status and failing_streak. A healthy status alone does not prove a test event arrived, so send a test event and confirm it in delivery history. The docs mark this endpoint pay-per-call, so poll on a schedule and cache the answer.
The activity call returns recorded failure alerts, newest first. Each entry has id, type (failure_alert), occurred_at and failure_count. Use limit and offset to paginate and follow next until it is null; count can be capped or estimated. A missing destination returns 404.
The decision call returns the current session state for the session ID you pass. Read the current status and the decision fields your workflow uses; per-feature data is in plural arrays such as id_verifications[] and aml_screenings[].
Failure cases and recovery
| Failure | How you see it | Recovery |
|---|---|---|
| Endpoint times out, refuses the connection or the address is blocked | Recorded as a failed delivery attempt. The destination is degraded if the attempt remains unresolved within the last 24 hours and the failing threshold has not been met. It is failing when three or more consecutive events have failed their first attempt since the last successful response. | Fix the endpoint, then let a retry or a resend land. If no request reached the receiver, inspect delivery history. For a known session event, reconcile the current decision. |
| Your handler answers HTTP 400 or above | Counted as a failed delivery attempt | Treat it as a rejected delivery, keep minimal security metadata, fix the handler. A resend is separate. Reconcile the current decision for a known session event. |
| Signature mismatch | Your handler rejects the request | Check raw body handling, canonical V2 input, the current secret and the replaced secret for a Previous header. Log minimal security metadata. |
| Timestamp outside 300 seconds | Rejected before processing | Sync the receiver clock. A drifting host rejects good deliveries all day. |
Unknown webhook_type | Router falls through to a default branch | Fix the subscription or dead letter it as a configuration error. Do not treat it as a processing failure. |
| Duplicate authenticated event | A repeated delivery of the same event | Deduplicate on event_id and keep downstream updates idempotent. |
| Temporary processing failure after a 2xx | No Didit delivery retry for that request | Fix the processing issue, then reconcile the current decision for a known session event. |
| Processing failure that needs intervention | No automatic recovery | Dead letter it with an owner. Reconcile the current decision for a known session event. |
| Delivery retries exhausted | No successful attempt in delivery history; destination health may be failing | Start with delivery history to investigate. For a known session event, read the current decision. A resend is a separate recovery option. |
| 429 while re-reading a decision | detail, Retry-After and rate-limit headers | Use Retry-After as the floor, add backoff with jitter, stop after about five attempts and page a human. |
| Insufficient credit | Inspect the response body. Session creation can return HTTP 400, standalone APIs generally return HTTP 403, and some APIs return HTTP 402. | Top up or resolve the documented billing issue, then retry the original operation if appropriate. |

status.updated session event, the current decision lives here and at the decision endpoint, so a missed delivery is a reconcile step, not a new verification.
Inputs and outputs
| Name | Input or output | Source or destination | Used for |
|---|---|---|---|
uuid | Input | List destinations response | Key for metrics, activity and the single-destination read |
secret_shared_key | Input | Get destination response | HMAC key for signature verification |
event_id | Input | Webhook envelope | Deduplication key for repeated deliveries |
session_id | Input | Verified event or existing session record | Current decision read for status.updated session events |
webhook_type and status | Input | Webhook envelope | Routing and state transition for status.updated session events |
health_status and failure activity | Input | List destinations and activity responses | Alerting and investigation |
| Dead letter record | Output | Your operations record | Evidence, owner assignment and recovery source |
| Recovery drill record | Output | Your runbook log or ticket | Date, failed delivery attempt, any recorded alert, affected session, current decision and result |
Paid steps and review boundaries
Our public price list shows no separate webhook delivery rate. The Management API docs describe listing destinations as pay-per-call without quoting a unit price. The example covers verification charges only.
Metered checks: $0.33 per completed full ID check and $0.20 per AML check. Sandbox testing is free and unlimited; the workflow orchestrator, MCP server and SDKs are free.
A session in In Review requires a compliance reviewer. Route AML and sanctions alerts according to your organization's review policy. This runbook routes work; it does not decide. Keep the dead letter owner named.
Worked cost example
A pilot of 2,000 completed verifications in one month, each a full ID check plus AML screening, at list price:
- Per user: $0.33 for a completed full ID check + $0.20 for an AML check = $0.53
- 2,000 users: 2,000 x $0.53 = $1,060.00
- On Scale, the full ID check and AML screening in this example are each 10% lower: $0.33 x 0.90 = $0.2970 and $0.20 x 0.90 = $0.1800, so $0.4770 per user
- 2,000 x $0.4770 = $954.00 in usage
- Scale costs $299.00 a month and includes $350.00 of monthly credit: $954.00 minus $350.00 = $604.00 in top-up, so $299.00 + $604.00 = $903.00 of cash for that month
- Webhook delivery: our public price list shows no separate webhook delivery rate. The example covers verification charges only.
This $903.00 is a monthly Scale example assuming no existing top-up balance and no other usage drawing on the monthly credit.

Recovery drill and records
Keep records for the recovery loop, not for a fixed repository path. A drill record should show the date, the failed delivery attempt, any recorded alert, the affected session, the current decision you read and the result. The dead letter record should carry the minimum needed to find the event and act: event reference, timestamps, failure reason and resolution.
Destination metrics cover 30 days. Set a retention period for your own records based on applicable obligations and operational needs. Restrict access and follow your approved deletion policy.
Other event families
Bank links, connections and synced bank data send their own bank.* events, documented on the bank webhooks page. Give them their own destination and read their documented payloads. Do not apply the session routing or session recovery steps to bank events. Delivery attempts and destination analytics are documented separately at the delivery attempts page and the destination analytics page.
Sources
- Didit webhooks guide: events, HMAC signing, retries and payloads
- Didit webhooks guide, retry policy section
- Management API: list webhook destinations, health status and 30-day metrics
- Management API: Get webhook destination
- Management API: webhook destination failure activity
- Management API: webhook delivery attempts
- Management API: destination analytics
- Didit API errors: status codes and which failures are safe to retry
- Didit API rate limiting: 429 shape and client backoff guidance
- Verification statuses: exact strings and session lifecycle
- Didit data models: per-feature report and decision schemas
- Bank webhooks: bank link, connection and synced data events
- Integration prompt: the webhook endpoint brief as raw Markdown
- Didit pricing page, read November 26, 2026
- Didit User Verification product page, read November 26, 2026
- Didit product facts: User Verification, Business Verification and Transaction Monitoring, read November 26, 2026
- Didit pricing feed as JSON, read November 26, 2026
- Didit pricing in the docs: billing rules and standalone API prices
- Didit MCP server setup
Next step: open the sandbox at business.didit.me, create one destination, and run the sandbox drill in step 9 against it today. No sales call, and sandbox checks are free.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alejandro Rosas
Co-founder and CTO

Questions
Frequently asked questions
Does Didit retry failed webhook deliveries?
Yes. Didit runs bounded retries per destination, and the current policy is on the webhooks guide under retry policy. A failed delivery attempt is one your endpoint answers with HTTP 400 or above, or one that times out, refuses the connection or hits a blocked address. Retries do not add to failing_streak, and any successful attempt, including a retry or a resend, ends the streak.
How do I verify a Didit webhook signature?
Read the raw body first, recompute HMAC-SHA256 with the destination signing secret, compare in constant time, and confirm that X-Timestamp is within 300 seconds of now. X-Signature-V2 hashes sorted, Unicode-preserved canonical JSON and is recommended because it survives re-encoding that preserves the same canonical JSON. When a Previous header is present, compare it with the replaced secret as well. Previous headers are sent for 24 hours after destination-secret rotation and are never sent for the legacy application webhook URL.
What is the difference between X-Signature, X-Signature-V2 and X-Signature-Simple?
X-Signature hashes the exact raw bytes and only works when nothing re-encodes them. X-Signature-V2 hashes the sorted, Unicode-preserved canonical JSON and is what the docs recommend. X-Signature-Simple is deprecated and authenticates only the envelope, so if you verify with it you must re-fetch the decision from the API instead of trusting the payload.
What happens when Didit webhook retries run out?
The webhooks guide documents bounded retries, but the supplied material does not quote an exact retry schedule or attempt limit. Inspect delivery history to see whether any attempt for that event succeeded. Destination health is a separate signal and can be healthy even when a specific event was never delivered. For a status.updated session event, reconcile the known session by reading its current decision. A resend is a separate recovery option, not a substitute for current-state reconciliation.
How do I inspect a failed Didit webhook delivery?
Use the delivery history to inspect individual attempts for a destination, and the destination activity endpoint for recorded failure alerts, which are distinct from individual attempts.
How long should I retain dead letter records?
Destination metrics cover 30 days. Set a retention period for your own records based on applicable obligations and operational needs. Restrict access and follow your approved deletion policy.
Which Didit webhook event types can I subscribe to?
You list them explicitly in subscribed_events, because there is no wildcard. The families include status.updated, data.updated, transaction.created, transaction.status.updated, travel_rule.status.updated, workflow.compliance_changed, the user and business entity events, and the investigator family. The worked receiver in this guide is scoped to status.updated session events; other families have their own documented payloads.
How do I replay a Didit webhook I missed?
For a status.updated session event, use the session ID from a verified event or an existing session record and read the current decision. That is current-state reconciliation, not a resend. When no request reached the receiver, start with Didit's delivery history to investigate the missing delivery. Label a resend as a separate recovery option, use event_id as the deduplication key for repeated deliveries of the same event and make each downstream state update idempotent.
What does health_status failing mean on a destination?
It means three or more consecutive events failed their first delivery attempt since the destination last answered successfully, with failing_streak counting them and failing_since giving the start. It is independent of enabled, so a paused destination can still show failing. Degraded means an unresolved failed attempt in the last 24 hours when the destination is not already failing. A receiver cannot log requests it never receives, so destination health is a separate alerting signal.
Do Didit webhooks cost anything?
Our public price list shows no separate webhook delivery rate. The Management API docs describe listing destinations as pay-per-call without quoting a unit price. The example covers verification charges only. Verification checks have their own published prices. A completed full ID check costs $0.33 and an AML check costs $0.20 at list price.
How do I handle a 429 when re-reading a decision?
Read Retry-After and treat it as the floor for your delay. Add exponential backoff with jitter on top so two clients that hit the limit at the same moment do not synchronise, and stop after about five attempts before alerting a person. Rate-limit headers are present on the 429 response, not on successful responses.
How do I run a sandbox drill for webhook recovery?
Test one subscribed status.updated session event, one duplicate and one failed delivery. Success means the event is accepted only after signature verification, the duplicate causes no second state change, and the failed delivery appears in destination health or delivery history while the known session's current decision is reconciled. Record the date, the failed delivery attempt, any recorded alert, affected session, current decision and result in your runbook log or ticket.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


