Get lock session by ID
Returns full details of a specific lock session, including the complete activity history (lock segments). Returns 404 if the session does not exist or belongs to a user you do not have access to.
Authorizations
AuthorizationstringheaderrequiredAPI tokens can be created in the Dashboard settings. Requires an Ultra subscription.
Path Parameters
idintegerpathrequiredThe lock session ID
Required range: x ≥ 1
Example: 7
Response
200application/jsonLock session with segments
Lock session with segments
okbooleanrequireddatavaluerequiredShow child attributes
idintegerSession ID
bubbleIdstringUnique public identifier
publicIdstringPublic session ID
ownerIdintegerOwner user ID
namestringSession name
lockStateenumCurrent lock state
Allowed values: pendinglockedcompletedabandonedbreak
durationintegerLock duration in seconds
startDatestring<date-time> | nullSession start time
endDatestring<date-time> | nullSession end time
isActivebooleanWhether 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
idintegertypestringSegment type (start, locked, break, unlocked)
createdAtstring<date-time>isLockedbooleanLock state during segment
400application/jsonInvalid request parameters
Invalid request parameters
okbooleanrequirederrorstringrequired401application/jsonAuthentication required or token invalid
Authentication required or token invalid
okbooleanrequirederrorstringrequired404application/jsonLock session not found
Lock session not found
okbooleanrequirederrorstringrequired