POST
/
v1
/
identity-documents
/
tokens
{
  "token_type": "Bearer",
  "expires_in": 600,
  "access_token": "eyJraWQiOiJOd292SnpudTNGdW9SNDdIdGlVVy1ndTdhNEpVV2dFMGphVGVRWWdEeUZjIiwiYWxnIjoiUlMyNTYifQ.eyJ2ZXIiOjEsImp0aSI6IkFULmV4aVRCcXhQVGNubjBUTmg3TzNtMGwtS2ttYzhWbjNJTjdMRm84M09MalUiLCJpc3MiOiJodHRwczovL2xvZ2luLmF1MTB0aXguY29tL29hdXRoMi9hdXMzbWx0czVzYmU5V0Q4VjM1NyIsImF1ZCI6ImF1MTB0aXgiLCJpYXQiOjE2Mjg2MTY4OTUsImV4cCI6MTYyODYxNzQ5NSwiY2lkIjoiMG9hYWdja2t5M0VBSHR3SEgzNTciLCJzY3AiOlsibW9iaWxlc2RrIl0sInN1YiI6IjBvYWFnY2treTNFQUh0d0hIMzU3IiwiYXBpVXJsIjoiaHR0cHM6Ly9ldXMtYXBpLmF1MTB0aXhzZXJ2aWNlc3N0YWdpbmcuY29tIiwiYm9zVXJsIjoiaHR0cHM6Ly9ib3MtZXVzLXdlYi5hdTEwdGl4c2VydmljZXNzdGFnaW5nLmNvbSIsImNsaWVudE9yZ2FuaXphdGlvbk5hbWUiOiJTYXJkaW5lICIsImNsaWVudE9yZ2FuaXphdGlvbklkIjo0MzN9.hhC9j8VNhRPecEyTmkE58Ey2pVNv2ED1PYNIP1D6dSnLLdroeN4QjmRT8dR20Le0_wEAXTkImu3klz4tboJMXUX0AsJuT05Xw6gtoPMZYmPepLB1_1RKEiykdQTOJkwtcm1guFGtXAR6pj5kxD0-q_wng8FTg11RK2f8GP1wI_o9Q5C_q_torCDnkhjcFVBou7i1hZ00zZ_JAn2CKa8gOX0fumq4eFtdbqYeCyrrgUu1Zxtd_rl5jZTmxGeGxz_aIc7NJGV0uNpViwPuB15efPrEwf4_kVirc4R3flUYDB3dKyqOt9eUYrzccyJCrSzzQzSfU4r7QnRZWMcVk0T2EQ",
  "scope": "mobilesdk"
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
sessionKey
string
required

unique identifier for the given customer session on your platform, generated by your service. We expect it to be short-lived (e.g. expires after 30 min)

customerId
string

Id for the customer. Please use the same ID you use for v1/customers API

platform
string

Platform where the token is going to be used i.e. android or ios

provider
enum<string>

Provider for the session i.e. au10tix or incode

Available options:
incode,
au10tix

Response

200 - application/json
token_type
string

type of the token

expires_in
integer

Expiry of the token

access_token
string

jwt token for the process

incode_sdk_base_url
string

base url to initialized Incode SDK.

verification_id
string

verification id of the session

scope
string

scope of the token to be used.