Request an access token

Obtain an OAuth2 access token using client credentials

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

realmstringRequired

Request

This endpoint expects an object.
client_idstringRequired
The client ID of the application
client_secretstringRequired
The client secret of the application
grant_type"client_credentials"Required
refresh_tokenstringOptional

The refresh token (required for refresh_token grant type)

Response

Successful response
access_tokenstring
token_typestring
expires_ininteger
refresh_tokenstring or null

The refresh token (returned when applicable)