BizKitHub
DocsAPI ReferenceContact/bff/contact/group-edit
postContactAdmin BFF

/bff/contact/group-edit

Renames and/or recolours a contact group addressed by slug. The slug never changes, so API integrations (/api/v1/customer/add-groups) and segment filters keep working.

ContactpostBffContactGroup-edit

Parameters

JSON body

Request body

application/json
slugstringRequired

Slug of the group to edit. The slug itself is immutable (API clients assign and filter by it).

Length: 1–∞
Examplepoptavka-web
namestringRequired

New display name.

Length: 1–128
ExamplePoptávka z webu
colorstringOptional

Optional new hex colour (#rrggbb or #rgb).

Example#2563eb

Response schema

1 status code documented

200Success
success"true"Required
slugstringRequired
namestringRequired
colorstringRequired

Response example

application/json
{
  "success": true,
  "slug": "example_slug",
  "name": "example_name",
  "color": "example_color"
}

Request example

POST /bff/contact/group-edit

post
curl -X POST "https://api.bizkithub.com/bff/contact/group-edit" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "slug": "poptavka-web",
  "name": "Poptávka z webu",
  "color": "#2563eb"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key