DocsAPI ReferenceBranch/bff/branch/create
postBranchAdmin BFF

/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

5 total
Body · 5
namestringRequired

Branch display name.

Length: 1
slugstring

Preferred URL slug. Generated from name if empty.

internalCodestring

Organisation-internal code (unique per organisation).

descriptionstring

Short branch description.

urlstring

Public branch URL.

Request

POST /bff/branch/create

post
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.

Get API Key