cURL
curl --request POST \ --url https://api.example.com/auth/token \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "grant_type": "client_credentials", "client_id": "<string>", "client_secret": "<string>" } '
{ "access_token": "<string>", "token_type": "<string>", "expires_in": 123 }
Get an access token for a service account
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
client_credentials
OK