Overview
/
Developer Tools
/
API Reference
/
Oauth2
/
Exchange an authorization code or refresh token for an OAuth 2.0 access token.

Exchange an authorization code or refresh token for an OAuth 2.0 access token
hidden

HTTP Request

  • application/x-www-form-urlencoded

    //
    • client_id:

      stringUUID,
      //
    • code:

      string,
      //
    • code_verifier:

      string,
      //
    • redirect_uri:

      stringURL,
      //
    • refresh_token:

      string,
      //
    • grant_type:

      "authorization_code"+1
      • //The authorization code grant.
        "authorization_code"
      • //The refresh token grant.
        "refresh_token"
      //
    }

Response

NaN Unknown

Examples

post
/oauth2/token