π# 1 Token API
eNROLL is leveraging standards based on identity system. Therefore solution leverages identity organization credentials for authenticating systems and granting them access token that allows call APIs
post
Body
tenantIdstringRequiredExample:
Organization tenantId
A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6tenantSecretstringRequiredExample:
Organization tenantSecret
A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6deviceIdstring | nullableOptionalExample:
Client's mobile deviceId
A9C3E5D7correlationIdstring | nullableOptionalExample:
correlationId is a unique identifier to trace and query requests by it.
A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6requestIdstring | nullableOptionalExample:
Request Id can be provided to continue the onboarding steps of specific request
1700398203730kycRequestTypeIdstring | nullableOptionalExample:
KYC Request Type Id can be provided to pick witch Option we will apply such as (OCR - Manual - Upload Excel Sheet)
'1' -> OCR , '2' -> Manual Entry , '3' -> Upload Excel SheetuserIdstring | nullableOptionalExample:
user Id Who Loged into the Application
1700398203730userNamestring | nullableOptionalExample:
user Name Who Loged into the Application
Ahmed@gmail.comResponses
200
Success
application/json
400
BadRequest
application/json
401
Unauthorized
application/json
404
NotFound
application/json
post
/Onboarding/api/v1/Auth/GenerateOnboardingSessionTokenPOST /Onboarding/api/v1/Auth/GenerateOnboardingSessionToken HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 349
{
"tenantId": "A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6",
"tenantSecret": "A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6",
"deviceId": "A9C3E5D7",
"correlationId": "A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6",
"requestId": "1700398203730",
"kycRequestTypeId": " '1' -> OCR , '2' -> Manual Entry , '3' -> Upload Excel Sheet",
"userId": "1700398203730",
"userName": "Ahmed@gmail.com"
}{
"token": "text",
"expirationDate": "2025-11-06T00:27:42.145Z"
}Last updated