DocsAPI ReferenceCalendar Event/bff/calendar/event-type-add
postCalendar EventAdmin BFF

/bff/calendar/event-type-add

Creates a new event type for the organisation. Code must be unique within the organisation.

Calendar EventpostBffCalendarEvent-type-add

Parameters

4 body

4 total
Body · 4
codestringRequired

Unique event type code (e.g., "workshop", "meeting").

labelstringRequired

Display label (e.g., "Workshop", "Meeting").

colorstringRequired

Hex color (e.g., "#FF5733" or "FF5733").

productIdnumber | null

Request

POST /bff/calendar/event-type-add

post
curl -X POST "https://api.bizkithub.com/bff/calendar/event-type-add" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "code": "example_code",
  "label": "example_label",
  "color": "example_color"
}'

Response

JSON payload

{
  "code": "example_code"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key