Parameters
1 query
Query parameters
· 1slugstringRequiredBranch slug — locks already attached to this branch are flagged.
Example
example_slugReturns 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.
1 query
slugstringRequiredBranch slug — locks already attached to this branch are flagged.
example_slug1 status code documented
itemsobject[]RequiredlockIdnumberRequiredaliasstringOptionalelectricQuantitynumberOptionalhasGatewaybooleanOptionalactivebooleanRequiredattachedbooleanRequiredTrue if already attached to this branch.
{
"items": [
{
"lockId": 0,
"alias": "example_alias",
"electricQuantity": 0,
"hasGateway": false,
"active": false,
"attached": false
}
]
}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"All BizKitHub public API endpoints require authentication via API key.