Requirements:
- API key pair (API key + secret), for the Partner API surface
- Age Estimation feature enabled on your contract (contact iDenfy to activate)
- Sufficient balance for the age-estimation fee (and a document scan when
escalationisDOC)
- Use the Partner API (API key pair) to create sessions programmatically from your backend. This is the surface you integrate against.
- Use the Dashboard (Admin) surface to create, browse, and inspect sessions in the iDenfy admin UI. Listing and per-session detail are dashboard-only — see Retrieve Tokens.
Create a Session
Both surfaces accept the same request body and return the same token object. On creation your balance is checked for the age-estimation fee (and, whenescalation = DOC, also for a document scan); if funds are insufficient the request is rejected.
The API Reference page for this endpoint isn’t published yet. Once Age Estimation is released, it will appear there automatically with the full request/response schema and an interactive playground — no further changes needed on this page.
Example (Partner API)
- Request
- Response
What’s Next
Once you have asession_url, send the end user to it to complete the selfie capture. When the session finishes, the result is delivered via the result webhook (if configured) and is always available through Retrieve Tokens on the Dashboard.