get https://{baseurl}/organizations//mobile-device//users//token
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
Parameters | Type | Description |
---|---|---|
organizationName | string | Denotes the name of the organization. |
deviceID | string | Denotes the ID number of the device with which the API token is being requested. |
userID | string | The assigned ID number of the user who is requesting the API token. |
Response Object
Parameters | Type | Description |
---|---|---|
access_token | String | The access token issued by the authorization server. |
refresh_token | String | The refresh token used to obtain a new access token when the current access token expires. |
expires_in | String | The duration in seconds for which the access token is valid before it expires. |
refresh_expires_in | String | The duration in seconds for which the refresh token is valid before it expires. |
token_type | String | The type of token issued, which is typically "Bearer" for OAuth 2.0. |
bearer | String | This bearer token that is generated as part of the request. |
not-before-policy | String | The 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_state | String | A unique identifier for the user's session, typically used for session management purposes. |
enc_aes_key | String | The encrypted AES key used for encryption and decryption of sensitive information. |
user_status | string | The status of the user requesting the API token. |