GET
Get an identity SDK token
When currentStep is IDENTITY_VERIFICATION, fetch a token and pass it to the identity verification SDK to run the check. Call this endpoint again to get a fresh token whenever you open the SDK. The token is short-lived (about 10 minutes) and the response carries no expiry time, so also fetch a new one when the SDK reports that the token expired. After the user finishes in the SDK, keep polling GET /v2/applications; the application advances once verification reports back. Until then currentStep stays IDENTITY_VERIFICATION, so when the SDK reports the check submitted, show a loader instead of the SDK. The endpoint only works on programs that use SDK-based identity verification. If no token can be issued, the response is 422 with a code. NO_SUMSUB_APPLICANTID_CREATED means the verification profile hasn’t been created yet. Retry after a short wait, and if it keeps happening once the application is at the identity step, contact support. CONTACT_SUPPORT means any unexpected failure, including the provider call. For any other code, show the message and don’t retry on a loop.

Authorizations

Authorization
string
header
required

The user's access_token from authentication. The program and environment (sandbox/prod) are read from the token.

Path Parameters

applicationId
string
required

The application id from create / get.

Response

A Sumsub SDK token

success
boolean
Example:

true

data
object