v1
latestOpenAPI 3.0.12026-07-14217.3 KBAuthentication Service
Generate Token
Authenticate using Basic Authentication with username/password or client credentials.
This endpoint is typically used by a web or mobile application at login when the user first enters their credentials.
Returns an access_token and, optionally, a refresh_token depending on the type of authentication.
Note: The refresh_token is only issued for web or mobile authentication users; it is not returned for machine-to-machine (M2M) authentication.
Header example:
Authorization: Basic base64(username:password)
post/api/auth/token
Response
Token generated successfully
Example response
{
"access_token": "eyJhbGciOiJFUzI1NiJ9...",
"token_type": "Bearer",
"expires_in": 300,
"refresh_token": "95CCF8D8-C4D1-4471-8DE5-4B695C065163"
}