Example workflows
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Please see examples for different scenarios.
Over 18 example
{
"type": "OVER",
"age_estimation": {
"allowed": true,
"threshold": 25,
"level": "PASSIVE",
"retry_limit": 1
},
"digital_id": {
"allowed": true,
"threshold": 18,
"age_estimation_allowed": true,
"age_estimation_threshold": 21,
"retry_limit": 1
},
"doc_scan": {
"allowed": true,
"threshold": 18,
"preset_issuing_country": "GBR",
"authenticity": "AUTO",
"level": "PASSIVE",
"retry_limit": 1
},
"ttl": 900,
"reference_id": "over_18_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
Over 16 example
{
"type": "OVER",
"age_estimation": {
"allowed": true,
"threshold": 25,
"level": "PASSIVE",
"retry_limit": 1
},
"digital_id": {
"allowed": true,
"threshold": 16,
"age_estimation_allowed": true,
"age_estimation_threshold": 19,
"retry_limit": 1
},
"doc_scan": {
"allowed": true,
"threshold": 16,
"authenticity": "AUTO",
"level": "PASSIVE",
"preset_issuing_country": "GBR",
"retry_limit": 1
},
"ttl": 900,
"reference_id": "over_18_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
Under 40 example
{
"type": "UNDER",
"age_estimation": {
"allowed": true,
"threshold": 40,
"level": "PASSIVE",
"retry_limit": 1
},
"digital_id": {
"allowed": false,
"threshold": 40,
"retry_limit": 1
},
"doc_scan": {
"allowed": true,
"threshold": 40,
"authenticity": "AUTO",
"level": "PASSIVE",
"preset_issuing_country": "GBR",
"retry_limit": 1
},
"ttl": 900,
"reference_id": "over_18_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
"cancel_url": "https://www.yoti.com",
Exact age example
{
"type": "AGE",
"age_estimation": {
"allowed": true,
"level": "PASSIVE",
"retry_limit": 1
},
"digital_id": {
"allowed": true,
"retry_limit": 1
},
"doc_scan": {
"allowed": true,
"authenticity": "AUTO",
"level": "PASSIVE",
"preset_issuing_country": "GBR",
"retry_limit": 1
},
"ttl": 900,
"reference_id": "exact_age_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
"cancel_url": "https://www.yoti.com",
"retry_enabled": true,
"synchronous_checks": true
Last updated on
Was this page helpful?
Next to read:
MarketplacesGot a question? Contact us here.
Welcome
API Reference
Age Verification Service
Age Verification (Headless)
Age Verification Sandbox