/bff/branch/attachable-locks
Returns every lock in the organisation that is either unattached or already attached to THIS branch. Locks linked to a different branch are filtered out — the operator must detach them first.
BranchgetBffBranchAttachable-locks
Parameters
1 query
Query · 1
slugstringRequiredBranch slug — locks already attached to this branch are flagged.
Request
GET /bff/branch/attachable-locks
curl -X GET "https://api.bizkithub.com/bff/branch/attachable-locks?slug=example_slug" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"items": [
{
"lockId": 0,
"alias": "example_alias",
"electricQuantity": 0,
"hasGateway": false,
"active": false,
"attached": false
}
]
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.