Yoti Hosted Age Verification — Over 18 (ASP.NET Core 9)

Create Over‑18 Session

Create Session

Status: 200 OK

Response JSON

{"id":"b524024c-4add-419c-803a-7c0e9e2d44e6","status":"PENDING","expires_at":"2026-07-26T17:01:40Z"}

Open Yoti Hosted Flow

Testing Return flows

COMPLETED
FAILED
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_1785084399",
  "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: Sun, 26 Jul 2026 16:46:40 GMT
Connection: keep-alive
Server: cloudflare
X-Request-ID: 7bf6bfe7b8232ba0e92ef42c6a17a76c, 7bf6bfe7b8232ba0e92ef42c6a17a76c
cf-cache-status: DYNAMIC
Set-Cookie: __cf_bm=5nSsiNRdvSCfts8SpORvkiL.ndaQTy.g2yFmOiGRuQo-1785084400.0912006-1.0.1.1-MKQFpw5mPccSZkeBZVS4rx.ZYrkBZ6CMGGzPVSQ8L3nge_IgvHlm20pw6KETVFs6nGvPipyVEUAZ8OZyTGequCan8GHI3AiWwJvFO5pfK2.gFwAbvLUq1pvjLbdt2xC7; HttpOnly; Secure; Path=/; Domain=yoti.com; Expires=Sun, 26 Jul 2026 17:16:40 GMT
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Content-Type-Options: nosniff
CF-RAY: a214e1bc9f82b88b-AMS
Content-Type: application/json
Content-Length: 100
      

Config (from appsettings.json)