cURL
curl --request POST \ --url https://{defaultHost}/v5/oauth/token \ --header 'Content-Type: application/json' \ --data '{ "grant_type": "authorization_code", "code": "<string>", "client_id": "<string>", "client_secret": "<string>", "redirect_uri": "<string>" }'
{ "access_token": "<string>" }
Exchange a code for a token
oauth token created
The response is of type object.
object
Was this page helpful?