Get an access token
POST/api/public/v1/oauth/token
OAuth 2.0 token endpoint. client_credentials is for app integrations: call it from your server only, never from a browser or mobile app. authorization_code with PKCE (S256) and refresh_token are used by AI clients connecting to an app over MCP; see the MCP guide. Production and sandbox have separate hosts and credentials. Errors follow RFC 6749 section 5.2.
Request
Responses
- 200
- 400
- 401
- 429
RFC 6749 error: invalid_request, unsupported_grant_type, or invalid_scope
RFC 6749 error: invalid_client
RFC 6749 error: slow_down, with Retry-After