Skip to main content
Version: v1.0

Refresh Access Token

Refresh the accessToken using the refreshToken. If the current token has expired, this API allows you to obtain a new accessToken using the refreshToken, eliminating the need to repeat the entire authentication process.

Host URL

Endpoint

POST auth/api/token/refreshAccessToken

  • Rate limit: 500 requests per day.

Request Body

{
"refreshToken": "xxxxxxxxxx"
}

Request Parameters

NameLocationTypeRequiredDescription
bodybodyobjectYesRequest payload
» refreshTokenbodystringYesRefresh token

Response Example

Status code 200 OK

{
"code": "string",
"msg": "string",
"data": {
"accessToken": "string",
"expiresIn": 0,
"type": "string"
}
}

Response Structure

NameTypeRequiredDescription
codestringYesStatus code
msgstringYesMessage
dataobjectYesData object
» accessTokenstringYesNew access token
» expiresInintegerYesToken expiration time
» typestringYesToken type