This API is documented in OpenAPI v3.1 format and displayed with ReDoc.

In addition to standard OpenAPI syntax few vendor extensions have been used.

Server
https://api.yoti.com

prod

Server Variables


The system uses API tokens which may either be acquired through an OAuth-compatible endpoint (using a JWT signed by the application's private key), or manually provisioned through Hub or Backoffice.

A simplified example of a request would look like:

POST /path/to/resource HTTP/2.0
Host: api.yoti.com
Authorisation: Bearer yta_UJCxUATErS890kAUaOMI7QA_IdESeScy2WKH

{ ... JSON request data here ... }

Fields
KeyIn
AuthorizationHeader

Poa-v1

Endpoints for Proof of Age (PoA)

Verify Proof of Age

Auth
Request Body
Proof of Age Queryobject
qrobject

Information/Metadata linked to the scanned QR code

valuestring

The value of the scanned QR code

scanned_atdate-time

When the QR code was scanned by the reader

terminalobject

Information/Metadata linked to the terminal that scanned the QR code

idstring

An identifier for the terminal that is used to scan the QR code

store_idstring

An identifier for the location/unit to which the id is registered or is operating under

notificationobject

Define where to send the proof of age verification result notificatio for use-cases where the workflow is not synchronous (i.e. response status code is 202 Accepted)

urlstring

Where to send the notification

methodstring

The HTTP method to use when sending the notification

Enum: GET,POST

Default: POST

verifyTlsboolean

Whether to verify the TLS certificate of the server exposing the url

Default: true

headersobject

Pre-defined set of HTTP headers to include with the notification

*string

Each key/value entry is an HTTP header name and it's corresponding value

POST /poa/v1/verify
Copy
Responses
200

OK

202

Accepted

400

Bad Request

422

Unprocessable Entry

500

Server Error

Response
Copy

Verify Proof of Age Result

Auth
Path Params
idstring

The identifier for a proof of age verification query

GET /poa/v1/verify/{id}
Copy
Responses
200

OK

404

Not Found

500

Server Error

Response
Copy