Exchanges your connector's OAuth 2.0 client credentials for a bearer access token.
Authenticate with HTTP Basic auth (client_id as the username, client_secret as the password) or send client_id and client_secret in the form body. Then send the returned access_token as Authorization: Bearer <access_token> on every gateway request.
The client-credentials grant does not issue a refresh token — when the token expires, request a new one with the same credentials.
This endpoint is available only for connectors configured for OAuth2. It lives at your connector's root host (https://{connector}.api.maxio.com/oauth/token), not under the /api/v1/billing base path.
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
curl -X POST \ --url 'https://connector.api.maxio.com/oauth/token' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ --data-raw '{ "grant_type": "client_credentials"}'Value in
OAuth client identifier. Omit when authenticating with HTTP Basic.
OAuth client secret. Omit when authenticating with HTTP Basic.