Exchange a code, or refresh

Turn an authorization code into an access token, or refresh one.

JSON or application/x-www-form-urlencoded — both are accepted.

Fields that belong to another grant are rejected, not ignored. code, redirect_uri and code_verifier are required for authorization_code and forbidden for the others.

Rate limited to 20 a minute.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required
Allowed:
string
string
string
length between 43 and 128
string
string
string
string
string
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json