v1
latestOpenAPI 3.0.32026-07-2613529376.3 KBAuthentication
Get Access Token
The endpoint activates an access token by exchanging an authorization code.
<Warning> **Important Notes:**- Access token duration is 300 seconds
- The IP of the client must be added to WB Allowlist </Warning>
Request Headers:
- Content-Type: application/x-www-form-urlencoded
post/oauth2/token
Response
Successful token exchange
Example response
{
"data": {
"access_token": "MZM1MDBMMJYTNWM4MI0ZNTIYLTKXNDATNZY1MZHKM2Y2MJY3",
"expires_in": 300,
"refresh_token": "ODK5ZTVKZDUTYTI5ZC01NWJHLTGZZDMTYWFKYTNMNJHHMGZM",
"scope": "codes.apply,show.userinfo",
"token_type": "Bearer"
}
}