Skip to main content
POST
Get Token

Body

application/x-www-form-urlencoded
grant_type
string
default:client_credentials
required

Grant type for token request. Must be "client_credentials"

Allowed value: "client_credentials"
client_id
string
required

Your client identifier

Example:

""

client_secret
string<password>
required

Your client secret

Example:

""

scope
string
default:organization
required

Required scope for API access. Must be "organization"

Allowed value: "organization"

Response

Token response

OAuth2 token response from Keycloak.

access_token
string
required
Example:

"eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiS..."

expires_in
integer
required
token_type
string
required
Example:

"Bearer"

refresh_expires_in
integer
session_state
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

not-before-policy
integer
Example:

0

scope
string
Example:

"fleet:read share-agreement:read telematics:read"