EndpointsSpecialized age verification

Perform custom age verification

Starts an age verification that follows a custom scenario configured on your product, and returns a hosted URL to display in an iframe. Use it when the standard methods do not match the flow your product needs. Identify the scenario with `scenarioId`. The player completes it at the returned URL; read the outcome from `/age-verification/get-status` or a webhook.

POST
/age-verification/perform-custom-age-verification
AuthorizationBearer <token>

In: header

Request Body

application/json

Perform custom age verification

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/age-verification/perform-custom-age-verification" \  -H "Content-Type: application/json" \  -d '{    "scenarioId": "12345678-1234-1234-1234-123456789012",    "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"}