POST the current refresh token in the body to receive a NEW access token and a ROTATED refresh token. The presented refresh token is single-use and immediately revoked — the client must persist the returned refreshToken. (Replaces the old GET + `ref-tk` header contract.)
POST
/api/auth/refresh-tokenRequest body
requiredapplication/jsonrefreshTokenstringrequiredThe encrypted refresh token issued at login / last refresh.
Responses
200OK
any401Unauthorized — refresh token missing/invalid/expired, or already used. Replaying a rotated token revokes ALL of the user’s sessions.
any500Internal Server Error
any