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.
NOTICE: This is still a DRAFT and can be subject to changes before going live.
prod
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.
A simplified example of a request would look like:
POST /path/to/resource HTTP/2.0
Host: api.yoti.com
Authorization: Bearer yta_UJCxUATErS890kAUaOMI7QA_IdESeScy2WKH
{ ... JSON request data here ... }
Key | In | |
---|---|---|
Authorization | Header |
Poa-v1
Endpoints for Proof of Age (PoA)
Verify Proof of Age
OK
Accepted
Bad Request
Server Error
Verify Proof of Age Result
OK
Not Found
Server Error
Webhooks
Verify Proof of Age Result Notification
This notification will be triggered when the result for Verify Proof of
Age is available and the original request included a notification
config
No Content
Your server implementation should return this HTTP status code if the data was received successfully (although any 2xx code will do)