Skip to content

Refresh Token

Request

Obtain a new access token after the current access_token expires.

Bodyapplication/json
bodyobject(TokenRefresh)required
curl -i -X PUT \
  https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/token \
  -H 'Content-Type: application/json' \
  -d '{
    "body": {
      "refreshToken": "string"
    }
  }'

Responses

Bodyapplication/json
codeinteger
messagestring
dataobject(EntityResponseDataOpenApiTokenDTO)
Response
{ "code": 0, "message": "", "data": { "entity": { … } } }