/bff/iot-lock/lock-add
Registers 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.
IoTpostBffIot-lockLock-add
Parameters
1 body
Body · 1
lockIdstringRequiredTTLock lock ID to add (from the TTLock API/app).
Request
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"
}'Response
JSON payload
{
"success": false,
"lockId": 0
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.