List active sessions
GET
/v1/auth/sessionsReturns the still valid sessions (refresh tokens) of the user carried by the JWT. There is no “current session” endpoint: the current user is read on GET /v1/auth/me.
This English text was generated automatically from the French original and has not been reviewed yet.
#
Request
Headers
| Header | Required | Value |
|---|---|---|
apikey | yes | Clé API du projet |
Authorization | yes | Bearer <JWT utilisateur> — l'identité vient du token, pas du corps |
X-Refresh-Token | no | Refresh token courant — sert uniquement à marquer is_current sur la bonne ligne |
#
Notes
Neighboring roads
Info
GET /v1/auth/me makes the user current. DELETE /v1/auth/sessions/{session_id} revokes a specific session. POST /v1/auth/logout closes the current session.
#
Notes
Client-side cache
Astuce
The SDK keeps the session in memory and local storage. getSession() does not make any network calls until the access_token has expired; upon expiration, a refresh is triggered.
v1.0 · revised Apr 15, 2026