Request
POST /auth/refresh
The refresh token issued during login or the previous token rotation.
Response
The newly issued JWT access token.
A new refresh token to use in future rotation requests. Replace the token you previously stored with this one.
Always
"Bearer".Number of seconds until the new access token expires.
The display name of the authenticated user.
The effective role associated with this token pair.
The numeric ID of the authenticated user.
Example
Each refresh token can only be used once. After a successful rotation, the old
refreshToken is immediately invalidated. Always save the new refreshToken from the response before discarding the previous one.Error codes
| Status | Meaning |
|---|---|
| 400 | refreshToken is missing or blank |
| 401 | The refresh token is invalid, expired, or has already been revoked |