πŸ”‘# 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
tenantIdstringRequired

Organization tenantId

Example: A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6
tenantSecretstringRequired

Organization tenantSecret

Example: A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6
deviceIdstring | nullableOptional

Client's mobile deviceId

Example: A9C3E5D7
correlationIdstring | nullableOptional

correlationId is a unique identifier to trace and query requests by it.

Example: A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6
requestIdstring | nullableOptional

Request Id can be provided to continue the onboarding steps of specific request

Example: 1700398203730
Responses
200

Success

application/json
post
POST /Onboarding/api/v1/Auth/GenerateOnboardingSessionToken HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 210

{
  "tenantId": "A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6",
  "tenantSecret": "A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6",
  "deviceId": "A9C3E5D7",
  "correlationId": "A9C3E5D7-4B2F-47AC-9D61-3F1B1A1E87C6",
  "requestId": "1700398203730"
}
{
  "token": "text",
  "expirationDate": "2025-09-18T19:53:54.033Z"
}

Last updated