RAD Developer Docs
Lock Sessions

Lock or unlock

Start a new lock session or complete (unlock) the active session. User IDs (target and keyholders) are validated against your accessible users before the action is performed.

POST
/
lkbx
/
session
/
current

Authorizations

Authorizationstringheaderrequired

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

Body

application/json
actionenumrequired

Action to perform

Allowed values: lockunlock

lockSettingsIdinteger

Lock template ID (for lock action)

keyholderIdsinteger[]

User IDs to assign as keyholders (for lock action). All IDs must be users you have access to.

targetUserIdinteger

User to lock/unlock (defaults to authenticated user). Must be a user you have access to.

isTestLockboolean

Override test lock setting from template. When true, the lock owner can unlock without a keyholder. Only used with lock action.

Response

200application/json

Lock session completed

okbooleanrequired
dataobjectrequired
Show child attributes
messagestringrequired
201application/json

Lock session created

okbooleanrequired
dataobjectrequired
Show child attributes
lockSessionIdintegerrequired

ID of the created lock session

400application/json

Invalid request or operation failed

okbooleanrequired
errorstringrequired
401application/json

Authentication required or token invalid

okbooleanrequired
errorstringrequired
403application/json

Inaccessible user ID

okbooleanrequired
errorstringrequired
404application/json

User not found

okbooleanrequired
errorstringrequired