v1

latestOpenAPI 3.0.12026-07-2474233379.5 KB
Authorization

Authorize and generate access tokens

Required initial endpoint before starting the document verification process. It generates the access tokens to be used in subsequent endpoints. Access token expire in 60 minutes.

post/authorize/customer

Headers

Accept-Versionstring required

API Version

Request body

consentboolean required

Provided consent will create a historical record with timestamp

webhookstring uri

Callback URL for transaction status updates. See Webhooks

Example request

{
  "webhook": "https://trulioo.com/webhook"
}

Response

OK

accessTokenstring

Short lived token in the JWT format with 60 minutes expiration period.

refreshTokenstring
tokenTypestring

The type of the token based on refresh token.

expiresInnumber

TTL in milliseconds based on the refresh token