Lock Sessions

List lock sessions

Report an API docs issue

Returns a summary list of all lock sessions you have access to (past and present). Includes sessions owned by linked users — e.g. a lockee you keyhold for — alongside your own; use ownerId to distinguish owners.

GET
/
lkbx
/
session

Autorisierungen

Authorizationstringheaderrequired

API tokens can be created in the Dashboard settings. Requires an Ultra subscription.

Abfrageparameter

limitintegerquery

Number of records to return (default 50, max 100)

Required range: 1 ≤ x ≤ 100

Default: 50

Example: 50

offsetintegerquery

Number of records to skip (default 0)

Required range: x ≥ 0

Default: 0

Example: 0

Antwort

200application/json

List of lock sessions

okbooleanrequired
dataobjectrequired
Show child attributes
dataobject[]required
Show child attributes
idinteger

Session ID

bubbleIdstring

Unique public identifier

publicIdstring

Public session ID

ownerIdinteger

Owner user ID

namestring

Session name

lockStateenum

Current lock state

Allowed values: pendinglockedcompletedabandonedbreak

durationinteger | null

Lock duration in seconds. `null` when the keyholder hid the timer and the caller is not a keyholder of this session.

startDatestring<date-time> | null

Session start time

endDatestring<date-time> | null

Session end time. `null` when the keyholder hid the timer and the caller is not a keyholder of this session.

isActiveboolean

Whether session is active

isFrozenboolean

Whether the session clock is frozen, e.g. by Chaster. A frozen session's end date is stale.

isTimeDisplayedboolean

Whether the lockee may see the remaining time. When false, `endDate` and `duration` are `null` for callers who are not keyholders.

revealTimeBeforeUnlockinteger | null

Seconds before unlock at which a hidden timer becomes visible to the lockee on an active, unfrozen session. `null` when never revealed early.

createdAtstring<date-time>

Creation timestamp

keyholderIdsinteger[]

IDs of the users assigned as keyholders for this session. An empty array means a self-lock (no keyholder). Resolve IDs to usernames via the Users endpoints.

paginationobjectrequired
Show child attributes
limitintegerrequired

Number of records returned

Example: 50

offsetintegerrequired

Number of records skipped

Example: 0

401application/json

Authentication required or token invalid

okbooleanrequired
errorstringrequired
404application/json

User not found

okbooleanrequired
errorstringrequired
500application/json

Internal server error

okbooleanrequired
errorstringrequired