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 --request POST \
  --url https://auth.varda.ag/oauth/token \
  --header 'content-type: application/json' \
  --data '{"client_id":"YOUR_CLIENT_ID","client_secret":"YOUR_CLIENT_SECRET","audience":"https://api.varda.ag/fid/","grant_type":"client_credentials"}'

Response

The response is a JSON object containing a JWT token:

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