Get active lock template
Returns the lock template used by the current active lock session. Returns null if no active lock.
Authorizations
AuthorizationstringheaderrequiredAPI tokens can be created in the Dashboard settings. Requires an Ultra subscription.
Response
200application/jsonActive template or null
Active template or null
okbooleanrequireddatavalueShow child attributes
idintegerTemplate ID
ownerIdintegerOwner user ID
namestringTemplate name
durationintegerLock duration in seconds
isRandomDurationbooleanWhether duration is randomized
minDurationinteger | nullMinimum duration if random
maxDurationinteger | nullMaximum duration if random
isBreakEnabledbooleanWhether breaks are allowed
breakRegularityintegerBreak interval in seconds
breakMaximumintegerMaximum break duration
breakPenaltyintegerPenalty for exceeding break
breakKeyholderOnlybooleanOnly keyholder can grant breaks
isDeepthroatEnabledbooleanDTT integration enabled
deepthroatTimeReductionintegerTime reduction per DTT session
isShameEnabledbooleanShame feature enabled
shameTimeAddintegerTime added for shame
isEmergencyUnlockEnabledbooleanEmergency unlock available
isPublicbooleanWhether publicly accessible
isPubliclyListedbooleanWhether listed publicly
isTestLockbooleanWhether this is a test lock
isTimeDisplayedbooleanWhether remaining time is shown
createdAtstring<date-time>Creation timestamp
messagestringMessage when no active lock
401application/jsonAuthentication required or token invalid
Authentication required or token invalid
okbooleanrequirederrorstringrequired500application/jsonInternal server error
Internal server error
okbooleanrequirederrorstringrequired