POST
/
auth
/
token
curl --request POST \
  --url https://app.variable.global/api/auth/token \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials
{
  "access_token": "<string>",
  "refresh_token": "<string>",
  "token_type": "<string>",
  "scope": "<string>"
}

This is only required if you’re not using an API Key.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/x-www-form-urlencoded

Response

200 - application/json
A token

The response is of type object.