RAD Developer Docs
Lock Sessions

Get active lock session

Returns the currently active lock session, including segment history. Returns null in the data field if no session is active. By default reads your own session; pass targetUserId to read the active session of a user you have access to — e.g. a keyholder checking the lockee's lock.

GET
/
lkbx
/
session
/
current

Authorizations

Authorizationstringheaderrequired

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

Query Parameters

targetUserIdintegerquery

Read another user's active session instead of your own. The target must be a user you have access to; otherwise the request fails with 403.

Response

200application/json

Active lock session or null

okbooleanrequired
datavaluerequired
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

Lock duration in seconds

startDatestring<date-time> | null

Session start time

endDatestring<date-time> | null

Session end time

isActiveboolean

Whether session is active

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.

LockSegmentobject[]
Show child attributes
idinteger
typestring

Segment type (start, locked, break, unlocked)

createdAtstring<date-time>
isLockedboolean

Lock state during segment

400application/json

Invalid targetUserId

okbooleanrequired
errorstringrequired
401application/json

Authentication required or token invalid

okbooleanrequired
errorstringrequired
403application/json

Target user not accessible

okbooleanrequired
errorstringrequired
404application/json

User not found

okbooleanrequired
errorstringrequired