Authentication

Refresh Token

This endpoint creates a new access token using a refresh token.

Request Headers:

  • Content-Type: application/x-www-form-urlencoded
<Warning> **Important Notes:**
  • Refresh token duration is 600 seconds
  • Rate limit: 1 request per second
  • The IP of the client must be added to WB Allowlist </Warning>
post/oauth2/refresh_token

Request

Request body application/x-www-form-urlencoded

client_idstring required

The application's client ID

client_secretstring required

The application's client secret

tokenstring required

The refresh token received from the token endpoint

Example request

{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET",
  "token": "REFRESH_TOKEN"
}

Response

Successful token refresh

Example response

{
  "data": {
    "access_token": "NTBLZJKYNZETNJFIZC0ZNGM1LWJMYTMTODBJYZRKNWE2NMRM",
    "expires_in": 300,
    "refresh_token": "ODZMNMRHM2ETMZQZZI01OTQYLWEWMZATNWQ0NDYZNJBMOWUW",
    "scope": "codes.apply,show.userinfo",
    "token_type": "Bearer"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.