DocsAPI ReferenceIo T/bff/iot-lock/lock-add
postIo TAdmin BFF

/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

1 total
Body · 1
lockIdstringRequired

TTLock lock ID to add (from the TTLock API/app).

Request

POST /bff/iot-lock/lock-add

post
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.

Get API Key