Public Api Verification Gateway Service
Starts a verification for an applicant and returns an access token and a short link. Open the link, or pass accessToken to the verification SDK, to let the applicant pass the verification.
The applicant is looked up by externalUserId. If there is no such applicant, a new one is created in the flow flowName (applicants of ON_DEMAND flows must already exist).
The client balance is checked for the first service of the flow before the token is issued.
Private App Key of your Application. It is available in Workplace on the page of the Application.
Language of the verification interface for the applicant, as a locale string (for example en-US).
Identifier of the applicant in your system. If there is no applicant with this identifier, a new one is created.
Lifetime of the verification token in seconds (0 to 3153600000, about 100 years). If omitted, the default lifetime is used.
Name of the verification flow the applicant has to pass.
Created
Always true for a successful response
HTTP status code of the response
200Time the response was created (ISO 8601)
2021-08-20T14:52:33.648ZBad request: the request body or the parameters are not valid
Unauthorized: the x-private-app-key header is missing or not valid
POST /api/public/verification HTTP/1.1
x-private-app-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"locale": "text",
"externalUserId": "text",
"ttl": 1,
"flowName": "text"
}{
"status": true,
"statusCode": 200,
"data": {
"transactionId": "text",
"accessToken": "text",
"link": "text",
"applicantId": "text",
"ttl": 1
},
"time": "2021-08-20T14:52:33.648Z"
}Last updated