Requesting Access Tokens

Client Credentials Grant

Access tokens for APIs supporting client credentials grant are obtained are requested from the Varda token endpoint: https://auth.varda.ag/oauth/token.

You will need a client ID and secret, created for you by our team.

cURL Request:

curl --location 'https://auth.varda.ag/oauth/token' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=client_credentials' \
  --data-urlencode 'client_id=...' \
  --data-urlencode 'client_secret=...'

Response

The response is a JSON object containing a JWT token:

{
  "access_token": "eyJhb...",
  "token_type": "Bearer"
}