For the complete documentation index, see llms.txt. This page is also available as Markdown.

Public Api Verification Gateway Service

Create a verification token

post

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.

Authorizations
x-private-app-keystringRequired

Private App Key of your Application. It is available in Workplace on the page of the Application.

Body
localestringOptional

Language of the verification interface for the applicant, as a locale string (for example en-US).

externalUserIdstringRequired

Identifier of the applicant in your system. If there is no applicant with this identifier, a new one is created.

ttlnumber · max: 3153600000Required

Lifetime of the verification token in seconds (0 to 3153600000, about 100 years). If omitted, the default lifetime is used.

flowNamestringRequired

Name of the verification flow the applicant has to pass.

Responses
201

Created

application/json
statusbooleanRequired

Always true for a successful response

statusCodenumberRequired

HTTP status code of the response

Example: 200
timestringRequired

Time the response was created (ISO 8601)

Example: 2021-08-20T14:52:33.648Z
post/api/public/verification
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