Authenticate Client
Authenticate a client using client_id and client_secret obtained from registration. Returns an access token that can be used for subsequent API calls.
The access token includes scope information indicating which APIs the client can access.
Authentication request body. Contains client credentials (client_id and client_secret).
{
"client_id": "string",
"client_secret": "string"
}
Client identifier obtained from registration.
Client secret obtained from registration.
OK
{
"access_token": "string",
"token_type": "string",
"expires_in": 0,
"scope": "string"
}
JWT access token for API authentication. This token should be included in the Authorization header for subsequent API calls.
Type of token (typically "Bearer").
Token expiration time in seconds.
Comma-separated list of scopes granted to the client, indicating which APIs the client can access.
Error Response
{
"error_code": 0,
"error_message": "string"
}
HTTP Status or Application error code.
Error Code Ranges:
- 100000: Unknown/Internal errors
- 100001-100025: General validation errors
- 100101-100150: Re-registration errors (same clientId)
- 100151-100200: Re-registration errors (new clientId)
- 100201-100202: License-related errors
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"client_id":"string","client_secret":"string"}' https://{api_host}/1.0/auth/authenticate