Parameters
1 query
Query parameters
· 1idstringRequiredTTLock lock ID (from TTLock API).
12345Returns full detail of a specific TTLock smart lock including battery level, backup password, active/deleted status, and the assigned administrator contact information.
1 query
idstringRequiredTTLock lock ID (from TTLock API).
123451 status code documented
idnumberRequiredTTLock lock ID (from TTLock API).
aliasstringRequiredDisplay name of the lock.
electricQuantitynumberOptionalBattery level percentage (0–100).
backupPasswordstringOptionalCurrent system-generated backup passcode for manual unlocking.
backupPasswordInsertedDateDate | string | string | numberOptionalDate when the backup password was generated.
Date when the backup password was generated.
activebooleanRequiredWhether the lock is active in the system.
deletedbooleanRequiredWhether the lock has been soft-deleted.
isOnlinebooleanRequiredWhether the lock gateway is currently online (no open outage incident).
uptimePercentnumberRequiredGateway uptime percentage over the last 30 days (0–100).
lastOnlineDateDate | string | string | numberOptionalWhen the gateway was last seen online. Only present when currently offline.
When the gateway was last seen online. Only present when currently offline.
currentOutageSinceDate | string | string | numberOptionalStart of the current outage. Only present when currently offline.
Start of the current outage. Only present when currently offline.
administratorContactExternalIdstringOptionalExternal ID of the assigned administrator contact.
administratorNamestringOptionalFull name of the assigned administrator (or email if name is not available).
insertedDateDate | string | string | numberRequiredDate when the lock was added to the system.
Date when the lock was added to the system.
updatedDateDate | string | string | numberRequiredDate of the last status update from TTLock API.
Date of the last status update from TTLock API.
{
"id": 0,
"alias": "example_alias",
"electricQuantity": 0,
"backupPassword": "example_backupPassword",
"active": false,
"deleted": false,
"isOnline": false,
"uptimePercent": 0,
"administratorContactExternalId": "example_administratorContactExternalId",
"administratorName": "example_administratorName"
}GET /bff/iot-lock/lock-detail
curl -X GET "https://api.bizkithub.com/bff/iot-lock/lock-detail?id=12345" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.