Menu
Get started
Authentication
Two credentials, for two callers.
| CALLER | HEADER | WHERE IT COMES FROM |
|---|---|---|
| Your backend | X-Api-Key: idv_test_… / idv_live_… | Panel → Webhooks & keys (copy, rotate, revoke). Server side only: never in a browser, an app or a repository. |
| The end user's device (SDK) | Authorization: Bearer <access_token> | Returned by Create session; valid for that one session only. |
Lifetimes
| WHAT | LIFETIME |
|---|---|
| access_token / sdk_url | 15 min. Issue a new one with POST /v1/sessions/{id}/sdk-link (the old one stops working). |
| Session | 60 min to finish the flow; then expired (never started) or abandoned (started). |
| Session in review | Does not expire: the analyst's decision arrives by webhook. |
| Approval | 365 days, then kyc_expired (session.kyc_expired webhook). |
| Idempotency-Key | 24 hours. |
A missing X-Api-Key returns 422, an unknown or revoked key 401 Invalid API key, a production key before go-live 403 tenant_not_live. If a key leaks, rotate it in the panel: the old key stops working at once.