Fetch the API token for authorization

This API endpoint returns an access token required for the API authorization.


Headers

  • Authentication: Bearer <JWT>
  • Accept: application/json
  • Content-Type: application/json

Path Parameters

ParametersTypeDescription
organizationNamestringDenotes the name of the organization.
deviceIDstringDenotes the ID number of the device with which the API token is being requested.
userIDstringThe assigned ID number of the user who is requesting the API token.

Response Object

ParametersTypeDescription
access_tokenStringThe access token issued by the authorization server.
refresh_tokenStringThe refresh token used to obtain a new access token when the current access token expires.
expires_inStringThe duration in seconds for which the access token is valid before it expires.
refresh_expires_inStringThe duration in seconds for which the refresh token is valid before it expires.
token_typeStringThe type of token issued, which is typically "Bearer" for OAuth 2.0.
bearerStringThis bearer token that is generated as part of the request.
not-before-policyStringThe time at which the token is valid, is represented as the number of seconds since the Unix epoch (January 1, 1970, 00:00:00 UTC).
session_stateStringA unique identifier for the user's session, typically used for session management purposes.
enc_aes_keyStringThe encrypted AES key used for encryption and decryption of sensitive information.
user_statusstringThe status of the user requesting the API token.
Language
URL