/bff/branch/tree
Flat list of all branches in the authenticated organisation with parent-slug, branch type, operating-company summary and direct-child count. The admin assembles the tree client-side so it can drive expand/collapse state without round-trips.
BranchgetBffBranchTree
No parameters
This endpoint takes no path, query, header or body parameters.
Request
GET /bff/branch/tree
curl -X GET "https://api.bizkithub.com/bff/branch/tree" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"items": [
{
"slug": "example_slug",
"name": "example_name",
"active": false,
"childCount": 0,
"operatingCompany": {
"contactId": "example_contactId",
"name": "example_name"
}
}
]
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.