auth

Refresh Session Endpoint

Rotate a SuperTokens session using a desktop-held refresh token.

Used by native clients (ZugaClaw, ZugaGamer) that have no cookie jar. Web clients don't hit this — their refresh flows through SuperTokens' cookie-based endpoint.

Refresh tokens ROTATE on every successful call: the returned refresh_token REPLACES the one sent. Clients must persist the new pair. On 401, the client should clear stored tokens and prompt re-login.

post/api/auth/session/refresh

Request

  • Base URL: https://api.zugabot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.zugabot.ai/api/auth/session/refresh
  • Auth: none declared

Request body

refresh_tokenstring required

Response

Successful Response

tokenstring required
refresh_tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.