/bff/branch/create
Creates a new branch for the authenticated organisation. Generates a unique slug and validates internal code uniqueness. The branch_contact link and the list of associated people are set afterwards via the dedicated endpoints (/set-branch-contact, /add-branch-person).
BranchpostBffBranchCreate
Parameters
5 body
Body · 5
namestringRequiredBranch display name.
Length: 1–∞
slugstringPreferred URL slug. Generated from name if empty.
internalCodestringOrganisation-internal code (unique per organisation).
descriptionstringShort branch description.
urlstringPublic branch URL.
Request
POST /bff/branch/create
curl -X POST "https://api.bizkithub.com/bff/branch/create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"name": "Prague Central",
"slug": "example_slug",
"internalCode": "example_internalCode",
"description": "example_description",
"url": "example_url"
}'Response
JSON payload
{
"success": false,
"slug": "example_slug"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.