Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
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.
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
itemsobject[]RequiredslugstringRequirednamestringRequiredparentSlugstring | nullRequiredbranchType"own" | "franchise" | "partner"RequiredactivebooleanRequiredchildCountnumberRequiredoperatingCompanyobjectOptionalcontactIdstringRequirednamestringOptional{
"items": [
{
"slug": "example_slug",
"name": "example_name",
"active": false,
"childCount": 0,
"operatingCompany": {
"contactId": "example_contactId",
"name": "example_name"
}
}
]
}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"All BizKitHub public API endpoints require authentication via API key.