Client Sessions
- Written for
- + Written for
- Deprecated
- + Deprecated
- Applies to
- + Applies to
Client Sessions
Frontend API — publishable key (x-publishable-key) plus the user session.
6 routes. Each row is one endpoint with its explanation and whether it honours the Idempotency-Key header.
Method & path | Idem | Explanation |
|---|---|---|
| List the signed-in user's own active sessions/devices, flagging the current one. | |
| Sign out of every other device. Spares the current session; bumps sessions_version. | |
| Switch the active organization. Membership is resolved server-side. | |
| Rotate the refresh token and mint a session JWT. Reads the refresh cookie only. | |
| Revoke one session and clear its cookies. | |
| Mint a short-lived JWT for the active session using a named JWT template (getToken). |