πŸ”‘# 1 Token API

First Step When Customer Click On Update You Have To Initialize Session First By Creating Session Token Using The Following API

post
Authorizations
Header parameters
Accept-LanguageStringOptional
Body
tenantIdstring | nullableOptional
tenantSecretstring | nullableOptional
applicantIdstring | nullableOptional
Responses
200
Success
post
POST /api/v1/Auth/GenerateUpdateRequestSessionToken HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 80

{
  "tenantId": "text",
  "tenantSecret": "text",
  "applicantId": "text",
  "updateSteps": [
    1
  ]
}
{
  "token": "text",
  "expirationDate": "2025-07-01T08:41:04.146Z"
}

applicantId is Sent Back To You After Onboarding Success At The CallBack url You Configured Here You Must Save The Id To Use For Update And Authenticate

UpdateSteps you Select Which Steps To Update Only These Steps Will Be Allowed To Update In This Session For This User. If You Wich To Allow All Leave This Array Empty

// Available Steps are
        NationalID = 1,   
        Passport = 2,
        Phone = 3,
        Email = 4,
        Device = 5,      
        Location = 6,        
        SecurityQuestions = 7,
        Password = 8

Last updated