Exchange Refresh token for new token pair

Access tokens expire after 1 hour. Use your refresh token to get a new access token without going through the authorization flow again.

Send a POST request to /apiv2/oauth/authorize/token with:

Auth type: Basic Auth

  • Username: your Client ID

  • Password: your Client secret

    Body (form encoded):

  • grant_type = refresh_token

  • refresh_token = your saved refresh token

    Example response:
    {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refresh_token": "new_refresh_token_value...",
    "token_type": "Bearer",
    "expires_in": 3600
    }

    Store the new refresh_token for future use.