API ReferenceAuthentication API

Refresh access token

Exchanges a valid refresh token for a new access token. Refresh token must be provided in Authorization header or refresh_token cookie.

POST
/auth/refresh-token

Refresh token (can also be in Authorization header)

body?string

Response Body

application/json

application/json

application/json

curl -X POST "https://loading/auth/refresh-token" \  -H "Content-Type: application/json" \  -d 'string'
{}
{
  "code": "string",
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "code": "string",
  "error": "string",
  "message": "string",
  "request_id": "string"
}