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 to Test
iDenfy uses the same API URL for sandbox and production. Your API key determines which mode you’re in.Get sandbox API keys
Your sandbox keys are in Dashboard → Settings → API Keys.
Set up a webhook receiver
Run a dummy verification
Use the Sample Verification feature in your Dashboard to generate mock results with predefined outcomes — no real documents needed.
Simulating Different Outcomes
Use Dummy Results to trigger specific verification statuses:| Outcome | What to test in your app |
|---|---|
| APPROVED | Happy path — user gets access |
| DENIED | Show rejection message, offer retry |
| SUSPECTED | Check fraudTags / mismatchTags, make a decision |
| EXPIRED | Token timed out — prompt re-verification |
Go-Live Checklist
Before switching to production keys:- Webhooks — all statuses handled (
APPROVED,DENIED,SUSPECTED,EXPIRED) - Error handling — graceful responses for 400, 401, 403, 429, 500
- Token expiry — tested what happens when user returns after session expires
- Callback signing — HMAC verification implemented
- IP whitelisting — iDenfy IPs whitelisted on your webhook endpoint
- Data storage —
scanRefstored in your database for each verification - Production webhook URL — configured in Dashboard
- Production API keys — generated and stored securely (env vars, not code)