Authorisation grant: Get access & refresh token pair from an authorization code
POST {{api_host}}/oauth/token
Exchange the authorisation code for an access & refresh token pair.
Request Body
[{"name"=>"grant_type", "value"=>"authorization_code", "datatype"=>"string"}, {"name"=>"client_id", "value"=>"{{oauth2_application_id}}", "datatype"=>"string"}, {"name"=>"client_secret", "value"=>"{{oauth2_secret}}", "datatype"=>"string"}, {"name"=>"code", "value"=>"{{authorisation_code}}", "datatype"=>"string"}, {"name"=>"redirect_uri", "value"=>"https://www.getpostman.com/oauth2/callback", "datatype"=>"string"}]