OAuth

Get OAuth2 access token

post

OAuth2 client credentials flow endpoint. Generate a new access token using client credentials. The "client_id" (username) and "client_secret" (password) must be passed as Basic Auth credentials. Ex: Authorization: Basic Base64Encode(client_id:client_secret). The returned access token should be used as Bearer token for subsequent API calls: Authorization: Bearer {access_token}

Authorizations
AuthorizationstringRequired
Body
grant_typestringRequired

OAuth2 grant type - must be 'client_credentials'

Responses
200

Successfully generated OAuth2 access token

application/json
post
/oauth/token

Last updated

Was this helpful?