Returns the lock template used by the current active lock session. Returns null if no active lock.
cURL
curl --request GET \ --url https://dashboard.researchanddesire.com/api/v1/lkbx/templates/active \ --header 'Authorization: Bearer <token>'
200
activeTemplate
{ "ok": true, "data": { "id": 1, "name": "Weekend Lock", "duration": 172800, "isBreakEnabled": true } }
API tokens can be created in the Dashboard settings. Requires an Ultra subscription.
Active template or null
Show child attributes
Message when no active lock
Was this page helpful?