Obtain a new access token

Obtain a new access token

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data

The Authentication parameters

string
enum
required

The grant type used for authentication

Allowed:
string

Authorization code received from the "/oauth/authorize" request in the redirect URI. Required only when using "authorization_code" grant type

string

Redirect URI included in the "/oauth/authorize" request. Optional, used when grant type is "authorization_code"

string

Refresh token previously issued in the authorization code flow. Required only when using "refresh_token" grant type

string
enum
length between 1 and 32

Defaults to jwt. Required only for Service Tokens emission.

Allowed:
integer
86400 to 31556952

Lifetime of the requested token, expressed in seconds. Optional, and only applicable when requesting service tokens. Min: 1 day (86400 seconds). Max: 1 year (31556952 seconds)

string

A space-separated list of scopes (URL encoded) the client is requesting access to. Optional, used only when requesting with "client_credentials" and "refresh_token" grant types. Whenever a new access token is being issued using "refresh_token" grant type, the requested scope must not include additional scopes that were not issued in the original access token and, if omitted, the new access token will be issued with the same scope as was previously issued

string
enum

The type of signed JWT assertion (it must be "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"). Required if not using HTTP Basic Auth in the Authorization header

Allowed:
string

Signed JWT assertion (as per the "private_key_jwt" mechanism of OpenID Connect). Required if not using HTTP Basic Auth in the Authorization header

Headers
string

Authorization header containing the client authentication, supported via HTTP Basic Auth with the client’s client_id and client_secret. Required if not using a signed JWT assertion (as per the "private_key_jwt" mechanism of OpenID Connect)

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json