Obtain a new access token using a refresh token
Exchanges a valid refresh token for a new access token and a new refresh token. This endpoint implements refresh token rotation: every successful call revokes the current refresh token and issues a replacement. Reusing a revoked refresh token is detected as a potential replay attack and results in the entire token family being invalidated.Documentation Index
Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
null, the server returns 200 with
{ user: null, accessToken: null } — indicating no active session. The
success and refreshToken fields are absent in this case.true when a valid refresh token was provided and a new session was issued.
This field is absent when no refresh token was submitted.null if no refresh
token was provided.null if no refresh token was
provided.Project Mismatch — 403
Token Not Recognized — 403
Token Reuse Detected — 401
Token Expired or Malformed — 403
User Not Found — 403
useAuth hook — requestNewAccessToken