Skip to main content
POST
/
api
/
v2
/
compliance
/
access-token
Generate Sumsub access token
curl --request POST \
  --url https://sandbox.killb.app/api/v2/compliance/access-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "idType": "userId",
  "levelName": "basic-kyc-level",
  "ttlInSecs": 600
}
'
{
  "token": "_act-b8ebfb63-5f24-4b89-9c08-000000000000"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
id
string
required

User ID or Account ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

idType
enum<string>
default:userId

Type of ID provided (userId or accountId)

Available options:
userId,
accountId
Example:

"userId"

levelName
string

Sumsub level name

Example:

"basic-kyc-level"

ttlInSecs
number

Time to live in seconds

Example:

600

Response

token
string
required

Access token for Sumsub SDK

Example:

"_act-b8ebfb63-5f24-4b89-9c08-000000000000"