Token exchange

POST https://sandbox.orcid.org/oauth/token

3. Exchange the authorization code for an access token

ItemParameter
URLhttps://sandbox.orcid.org/oauth/token
client_idYour client ID
client_secretYour client secret
grant_typeauthorization_code
codeThe authorization code

Request Body

[{"name"=>"code", "value"=>"{{CODE}}", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"{{CLIENT_ID}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{CLIENT_SECRET}}", "datatype"=>"string"}, {"name"=>"grant_type", "value"=>"authorization_code", "datatype"=>"string"}, {"name"=>"redirect_uri", "value"=>"https://developers.google.com/oauthplayground", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Acceptstring