Skip to content

POST/auth/refresh

Refresh token

Exchange valid token for new one. Old token revoked.

ReturnsTokenResponse

Bearer token required

Response examples

200New token

application/json example derived from schema

{
  "token": "string",
  "expiresAt": "2024-01-15T09:30:00Z"
}
401401 — missing or expired Bearer token

application/json

{
  "error": {
    "status": 401,
    "message": "Authentication required"
  }
}

Released under the MIT License.