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:

ParameterTypeRequiredDescription
grant_typestringYesMust be client_credentials
client_idstringYesYour OAuth2 client ID
client_secretstringYesYour 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)