Skip to main content
GET
/
lkbx
/
templates
/
active
Get active lock template
curl --request GET \
  --url https://dashboard.researchanddesire.com/api/v1/lkbx/templates/active \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "id": 1,
    "name": "Weekend Lock",
    "duration": 172800,
    "isBreakEnabled": true
  }
}

Authorizations

Authorization
string
header
required

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

Response

Active template or null

ok
boolean
required
data
object
message
string

Message when no active lock