Where an account is signed in
GET
/console/users/{id}/sessions
const url = 'https://example.com/console/users/example/sessions';const options = { method: 'GET', headers: {cookie: 'bottle.session_token=<bottle.session_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 https://example.com/console/users/example/sessions \ --cookie bottle.session_token=<bottle.session_token>Every session still open, newest first: when it started, when it was last used, and its browser and system. A support session says which member of staff it is. Never the token.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Sessions
Media typeapplication/json
object
items
required
Array<object>
object
id
required
string
createdAt
required
string format: date-time
lastSeenAt
required
string format: date-time
expiresAt
required
string format: date-time
device
required
object
browser
required
string | null
os
required
string | null
app
required
boolean
supportByName
required
string | null
support
required
boolean
Examplegenerated
{ "items": [ { "id": "example", "createdAt": "2026-04-15T12:00:00Z", "lastSeenAt": "2026-04-15T12:00:00Z", "expiresAt": "2026-04-15T12:00:00Z", "device": { "browser": "example", "os": "example", "app": true }, "supportByName": "example", "support": true } ]}Not signed in
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Not Bottle staff, no two-step sign-in, or a console role too low for this
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}No such person
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Validation failed
Media typeapplication/json
object
error
required
string
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{ "error": "validation", "issues": [ { "path": "email", "message": "Invalid email" } ]}