Skip to main content
POST
/
protocol
/
openid-connect
/
token
Get Token
curl --request POST \
  --url https://auth.catenatelematics.com/realms/catena/protocol/openid-connect/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials \
  --data client_id= \
  --data client_secret= \
  --data scope=organization
{ "access_token": "eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiS...", "expires_in": 123, "token_type": "Bearer", "refresh_expires_in": 123, "session_state": "123e4567-e89b-12d3-a456-426614174000", "not-before-policy": 0, "scope": "fleet:read share-agreement:read telematics:read" }

Documentation Index

Fetch the complete documentation index at: https://docs.catenatelematics.com/llms.txt

Use this file to discover all available pages before exploring further.

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"