Request OAuth2 access token
Exchange OAuth2 client credentials for an access token. Use the Client Credentials grant type with your client ID and secret. The token is used in the Authorization: Bearer header for subsequent API calls.
Request Body
Send as application/x-www-form-urlencoded:
| Parameter | Type | Required | Description |
|---|---|---|---|
grant_type | string | Yes | Must be client_credentials |
client_id | string | Yes | Your OAuth2 client ID |
client_secret | string | Yes | Your OAuth2 client secret |
Response
Returns an access token with expiry. Use the token in the Authorization: Bearer {access_token} header for API requests.
Use Cases
- Authenticate server-to-server integrations
- Get token for programmatic API access
- Refresh token before expiry (typically 1 hour)
Related
- Programmatic Access — Full setup guide and code examples
Request OAuth2 access token
Exchange OAuth2 client credentials for an access token. Use the Client Credentials grant type with your client ID and secret. The token is used in the Authorization: Bearer header for subsequent API calls.
Request Body
Send as application/x-www-form-urlencoded:
| Parameter | Type | Required | Description |
|---|---|---|---|
grant_type | string | Yes | Must be client_credentials |
client_id | string | Yes | Your OAuth2 client ID |
client_secret | string | Yes | Your OAuth2 client secret |
Response
Returns an access token with expiry. Use the token in the Authorization: Bearer {access_token} header for API requests.
Use Cases
- Authenticate server-to-server integrations
- Get token for programmatic API access
- Refresh token before expiry (typically 1 hour)
Related
- Programmatic Access — Full setup guide and code examples