Get Access Token
GET/oauth/token
Retrieve an authentication token for API access. This token is required for all subsequent API requests.
Responses
- 200
- 400
Token successfully retrieved. Returns an access token, token type, and expiration time.
- application/json
- Schema
- Example (from schema)
Schema
permission string
Default value: partner
Role of the user: partner
, fleetManager
access_token string
token_type string
Default value: Bearer
Token type: Bearer
expires_in integer
Default value: 3600
Expires time in seconds
{
"permission": "partner",
"access_token": "string",
"token_type": "Bearer",
"expires_in": 3600
}
Authentication failed due to invalid credentials. Ensure your username and password are correct.
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Loading...