Request an access token
POST
/v2/auth/tokenOAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). Accepts client_id and client_secret in the request body (JSON or form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and returns an access token with token expiration information.
RequiresBearerauthentication
Body parameters
grant_typestringoptionalMust be "client_credentials" if provided
client_idstringoptionalThe client ID (credential username)
client_secretstringoptionalThe client secret (credential password)
Returns
Successfully generated token
Response fields
access_tokenstringrequiredJWT access token for subsequent authenticated requests
token_typestringrequiredToken type (always "Bearer")
expires_inintegerrequiredToken lifetime in seconds
POSTRequest
200 OKResponse