Access Token Request

post/oauth/token

Request to obtain the access token in the OAuth authorization process. See https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3 for details.

Securitybasic or X-PriceFx-jwt
Request
query Parameters
grant_type
required
string

Value MUST be set to "authorization_code".

code
required
string

The authorization code received from the authorization server.

redirect_uri
string

Required if the "redirect_uri" parameter was included in the authorization request and their values MUST be identical.

client_id
string

Required if the client is not authenticating with the authorization server.

Responses
200

OK

Response Schema: application/json
access_token
string
token_type
string
expires_in
integer
refresh_token
string
example_parameter
string
Request samples
Response samples
application/json
{
  • "access_token": "2YotnFZFEjr1zCsicMWpAA",
  • "token_type": "bearer",
  • "expires_in": 7200,
  • "refresh_token": "tGzv3JOkF0XG5Qx2TlKWIA",
  • "example_parameter": "example_value"
}