Parameters
JSON body
Request body
application/jsonlockIdstringRequiredTTLock lock ID to add (from the TTLock API/app).
Example
12345Registers a new TTLock smart lock for the authenticated organisation. The lock ID must be obtained from the TTLock API or mobile app. After adding, the lock status is fetched from the TTLock API to populate initial metadata.
JSON body
lockIdstringRequiredTTLock lock ID to add (from the TTLock API/app).
123451 status code documented
successbooleanRequiredAlways true on successful registration.
lockIdnumberRequiredThe TTLock lock ID that was registered.
{
"success": false,
"lockId": 0
}POST /bff/iot-lock/lock-add
curl -X POST "https://api.bizkithub.com/bff/iot-lock/lock-add" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"lockId": "12345"
}'All BizKitHub public API endpoints require authentication via API key.