Skip to main content
POST
Get an access token

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
client_id
string
required
client_secret
string
required
redirect_uri
string
required
grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token
code
string

Required if grant_type is authorization_code

refresh_token
string

Required if grant_type is refresh_token

Response

The access token

access_token
string
expires_at
integer
refresh_token
string