Authentication

Create OAuth Token

post/oauth2/token

Request

Request body application/x-www-form-urlencoded

grant_type'client_credentials' | 'password' | 'authorization_code' | 'refresh_token' required

Token grant type. For Partner OAuth tokens specifying client_credentials

client_idstring required
client_secretstring
scopestring

A space-delimited list of scopes.

codestring

The authorization code returned by the auth server response to oauth2/authorize. Used by authorization code flow

code_verifierstring

The code_verifier parameter as described in the PKCE specification. Used by authorization code flow

redirect_uistring

The URI to redirect to upon a successful request. Used by authorization code flow. This URI must have been configured previously

Response

OK

token_type'Bearer' required
expires_ininteger required

Number of seconds until token expires.

access_tokenstring required

Your authorization token

refresh_tokenstring

Refresh token used to refresh access token, if available

Changes

No recorded changes to this operation across all 2 revisions of this API.