Documentation Index
Fetch the complete documentation index at: https://documentation.idenfy.com/llms.txt
Use this file to discover all available pages before exploring further.
How Webhooks Work
When a verification completes (or changes status), iDenfy sends an HTTP POST request to your configured webhook URL with the verification result.Setting Up Webhooks
- Go to Dashboard → Settings → Webhooks
- Enter your webhook URL (must be HTTPS)
- Select which events to receive
Webhook Types
| Service | Webhook docs | Key statuses |
|---|---|---|
| KYC | KYC Webhooks → | APPROVED, DENIED, SUSPECTED, EXPIRED |
| KYB | KYB Webhooks → | Company verification results |
| AML | AML Monitoring → | Hit/no-hit on sanctions, PEPs, adverse media |
Webhook Timing
iDenfy sends webhooks at different stages:| Timing | When | Contains |
|---|---|---|
| Instant | Customer completes verification UI | Auto-check results (AI) |
| Prompt | Within minutes | Manual review results (human) |
| Delayed | Monitoring triggers | Ongoing AML monitoring hits |
The
final field in the webhook payload indicates whether this is the definitive result. When final: true, iDenfy will not send any further webhooks for this verification.Security
Always verify webhook authenticity:- Callback signing — verify the HMAC signature on every webhook
- IP whitelisting — only accept requests from iDenfy’s IP ranges
Best Practices
- Process asynchronously — acknowledge the webhook immediately (return 200), then process in the background
- Handle duplicates — use
scanRefas an idempotency key - Log everything — store the full webhook payload for debugging and compliance
- Handle retries — if your endpoint is temporarily down, iDenfy will retry
- Verify signatures — never trust an unsigned webhook in production