Perform ID verification
Starts an ID document verification and returns a hosted URL to display in an iframe. The player photographs a government-issued document, which yields a high-assurance age. The player completes it at the returned URL; read the outcome from `/age-verification/get-status` or a webhook.
Authorization
api-key In: header
Request Body
application/json
Perform ID verification
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/age-verification/perform-id-verification" \ -H "Content-Type: application/json" \ -d '{ "jurisdiction": "US-CA", "criteria": {} }'{ "id": "12345678-1234-1234-1234-123456789012", "url": "https://example.com/verify", "shortUrl": "https://example.com/s/12345678-1234-1234-1234-123456789012?pid=42&s=qr"}Perform facial age estimation POST
Starts a facial age estimation and returns a hosted URL to display in an iframe. The player is asked for a selfie, and a model estimates their age range from it — no document or account is involved. The player completes it at the returned URL; read the outcome from `/age-verification/get-status` or a webhook.
Perform trusted adult verification POST
Starts a trusted adult verification and returns a hosted URL to display in an iframe. It establishes that the person completing it is an adult who can act for a minor, rather than establishing a specific age — so it takes no age criteria. The player completes it at the returned URL; read the outcome from `/age-verification/get-status` or a webhook.