List your signed-in devices
GET
/api/v1/me/sessions
const url = 'http://localhost:8080/api/v1/me/sessions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/me/sessions \ --header 'Authorization: Bearer <token>'Sessions that haven’t expired, most recently used first. A demo account sees only the current session, since the others are other visitors’.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Your sessions.
Media typeapplication/json
Array<object>
object
id
required
integer format: int64
device
required
The label given at sign-in.
string | null
createdAt
required
string format: date-time
lastUsedAt
required
Updated at most once an hour.
string format: date-time
expiresAt
required
string format: date-time
current
required
Whether this is the session making the request.
boolean
Example generated
[ { "id": 1, "device": "example", "createdAt": "2026-04-15T12:00:00Z", "lastUsedAt": "2026-04-15T12:00:00Z", "expiresAt": "2026-04-15T12:00:00Z", "current": true }]The request has no valid session token.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}The server failed; details are in its log.
Media typeapplication/json
object
code
required
string
message
required
Explains the problem to a developer.
string
Example
{ "code": "bad_request"}