Open Platform
Skip to content

WiFi lock online or offline notify ​

Same as lock records notify, this API should be developed yourself on your system, you can set the callback URL in the detail page of your application in Management Center. The cloud server will call this callback URL to notify your system when there are WiFi locks online or offline. WiFI lock offline notify has 15 minutes delay from actual offline time

Notice: to receive gateway online or offline notify, please make sure the WiFI lock's administrator have get access token with your application's clientId.

1 Request method ​

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters ​

NameTypeDescription
notifyTypeInt3, mean WiFi lock online or offline notify
lockIdIntWiFi lock ID
lockAliasStringWiFi lock name
lockMacStringWiFi lock Mac
networkNameStringThe network name which the WiFi lock connected to
adminStringWiFi lock's administrator account
isOnlineIntOnline or offline:0-Offline,1-Online

Response ​

Response a raw string: "success" in the response body.

CopyRight © 2012-2026 TTLock.All Rights Reserved