Create Over‑18 Session
Create SessionStatus: 200 OK
Response JSON
{"id":"5701e259-0f6a-4dda-86f2-5195f227a051","status":"PENDING","expires_at":"2026-11-23T14:16:40Z"}
Testing Return flows
COMPLETEDFAILED
ABANDONED
EXPIRED
ONLY session_id
Diagnostics
General
- MethodPOST
- URLhttps://age.yoti.com/api/v1/sessions
Request Headers
Authorization: Bearer GiT5rA3uO_V6GjaoIsGUQW_KEW-KkR_4q8c9u940LXHoc6fvkXlmRATWLZA=
Yoti-SDK-Id: 032a7ca8-bc0a-4931-98f2-e7fbc9e5a191
Accept: application/json
Content-Type: application/json; charset=utf-8
Request Body
{
"type": "OVER",
"age": 18,
"ttl": 900,
"reference_id": "pintfinder_1795442500",
"callback": { "auto": true, "url": "https://pintfinderyoti.nexpreview.co.uk/age/return" },
"notification_url": "https://pintfinderyoti.nexpreview.co.uk/age/webhook",
"age_estimation": { "allowed": false },
"doc_scan": {
"allowed": true,
"retry_enabled": true
},
"digital_id": { "allowed": false },
"synchronous_checks": true,
"retry_enabled": true,
"resume_enabled": true
}
Response
Status: 200
Response Headers
Date: Mon, 23 Nov 2026 14:01:40 GMT
Connection: keep-alive
Server: cloudflare
X-Request-ID: 69debff6cc810b3b5ab1137e5f227b52, 69debff6cc810b3b5ab1137e5f227b52
cf-cache-status: DYNAMIC
Set-Cookie: __cf_bm=JbdZl2NcY_AtiJTf.FWtcHfCJeJJ_BvAlcRpuXj7V4g-1795442500.6707044-1.0.1.1-vSCpo1Pm5eUDiPq25QNSOgyIDIXa1VWKPevNFTlO_7W.9lG6Fpr.BM4.d05feHzPQwCOKFvonkiXa0DcZpE6OjAFHFZRRyp8V.AgN03IBWV9jGPEPjRW40WDdzNa2Gm0; HttpOnly; Secure; Path=/; Domain=yoti.com; Expires=Mon, 23 Nov 2026 14:31:40 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Content-Type-Options: nosniff
CF-RAY: a5f0b50d2b70b234-AMS
Content-Type: application/json
Content-Length: 100
Config (from appsettings.json)
- SdkId (Yoti Age Verification)
- ApiToken (Bearer)
- BaseAddress (https://age.yoti.com/api/v1/)
- ReturnUrl and WebhookUrl