Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
Returns a paginated list of TTLock smart locks for the authenticated organisation. Locks are ordered by active status, gateway connection, alias, and lock ID. Deleted locks are excluded. Each lock includes hardware metadata, battery level, and the assigned administrator contact (if any).
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
itemsobject[]RequiredArray of locks matching the query criteria.
Single lock item in the list.
idnumberRequiredTTLock lock ID (from TTLock API).
aliasstringRequiredDisplay name of the lock.
electricQuantitynumberOptionalBattery level percentage (0–100).
modelNumstringOptionalLock hardware model number.
macstringOptionalBluetooth MAC address of the lock.
hasGatewaybooleanOptionalWhether the lock is connected to a Wi-Fi gateway.
featureValuestringOptionalTTLock feature bitmask value.
firmwareVersionstringOptionalCurrent firmware revision.
autoLockTimenumberOptionalAuto-lock delay in seconds (0 = disabled).
activebooleanRequiredWhether the lock is active in the system.
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.
itemCountnumberRequiredTotal number of non-deleted locks for pagination controls.
{
"items": [
{
"id": 0,
"alias": "example_alias",
"electricQuantity": 0,
"modelNum": "example_modelNum",
"mac": "example_mac",
"hasGateway": false,
"featureValue": "example_featureValue",
"firmwareVersion": "example_firmwareVersion",
"autoLockTime": 0,
"active": false,
"isOnline": false,
"uptimePercent": 0,
"administratorContactExternalId": "example_administratorContactExternalId",
"administratorName": "example_administratorName"
}
],
"itemCount": 0
}GET /bff/iot-lock/lock-list
curl -X GET "https://api.bizkithub.com/bff/iot-lock/lock-list" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.