BizKitHub
DokumentationAPI-ExplorerCalendar/api/v1/calendar/add-event
postCalendarÖffentliche API v1

/api/v1/calendar/add-event

Keine Beschreibung vorhanden.

calendarpostApiV1CalendarAdd-event

Parameter

1 in der Query · JSON-Body

Query-Parameter

· 1
apiKeystringPflicht

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Request-Body

application/json
eventobjectPflicht
calendarIdstringPflicht

Unique identifier of the calendar where the event will be created.

Beispiel2WRp6X5rSqQa321EjHB2mxZz74u74H84
startTimestringPflichtdate-time

ISO 8601 timestamp marking when the event starts.

Beispiel2024-05-01T10:00:00.000Z
endTimestringPflichtdate-time

ISO 8601 timestamp marking when the event ends.

Beispiel2024-05-01T12:00:00.000Z
titlestringPflicht

Short title that clearly describes the event.

Länge: 1–250
BeispielTraining with Jan
descriptionstringOptional

Additional details that describe the event context or purpose.

BeispielTraining will start in Prague – Nusle.
agendastringOptional

List of agenda items or talking points. Other team members may edit this content.

Beispiel– Warm-up – Deadlift technique – Cool down
urlstringOptional

Public or internal link associated with the event.

Beispielhttps://gymroom.cz/pobocky/vinohrady
notifyBeforestringOptional

Relative time before the event when email/sms notification should be sent.

Beispiel1h 30m
blockingTostringOptionaldate-time

Time until which the calendar slot remains blocked. Prevents overlapping reservations in the same resource.

Beispiel2024-05-01T12:00:00.000Z
locationTitlestringOptional

Full physical address of the event location.

BeispielVaršavská 11, 120 00, Praha 2 – Vinohrady
isAllDaybooleanOptional

If true, the event spans the entire day (00:00–23:59).

Standard: false
Beispielfalse
isBlockingbooleanOptional

If true, the event occupies a time slot and conflicts with other events.

Standard: true
Beispieltrue
attendeesobject[]Optional
Jedes Array-Element:
memberIdnumberOptional

Internal system identifier of a registered member.

Beispiel1234
customerIdnumberOptional

Unique external customer identifier,

BeispielHxanU4a1n4El61zx
namestringPflicht

Full name of the attendee.

BeispielJan Barášek
emailstringOptional

Email address of the attendee.

phonestringOptional

Phone number of the attendee in international format.

Beispiel+420 777123456
typestringOptional

Classification of the event, used for filtering and analytics. Unknown type will be created.

Beispieletrainingwebinar

Antwortschema

1 dokumentierter Statuscode

200Erfolg
eventIdstringPflicht
Beispielfqdjnvzrfqjcsmvyhgjirjtvftknayzx

Antwortbeispiel

application/json
{
  "eventId": "fqdjnvzrfqjcsmvyhgjirjtvftknayzx"
}

Anfragebeispiel

POST /api/v1/calendar/add-event

post
curl -X POST "https://api.bizkithub.com/api/v1/calendar/add-event?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "event": {
    "calendarId": "2WRp6X5rSqQa321EjHB2mxZz74u74H84",
    "startTime": "2024-05-01T10:00:00.000Z",
    "endTime": "2024-05-01T12:00:00.000Z",
    "title": "Training with Jan",
    "description": "Training will start in Prague – Nusle.",
    "agenda": "– Warm-up\n– Deadlift technique\n– Cool down",
    "url": "https://gymroom.cz/pobocky/vinohrady",
    "notifyBefore": "1h 30m",
    "blockingTo": "2024-05-01T12:00:00.000Z",
    "locationTitle": "Varšavská 11, 120 00, Praha 2 – Vinohrady",
    "isAllDay": false,
    "isBlocking": true,
    "attendees": [
      {
        "memberId": 1234,
        "customerId": "HxanU4a1n4El61zx",
        "name": "Jan Barášek",
        "email": "[email protected]",
        "phone": "+420 777123456"
      }
    ],
    "type": "training"
  }
}'

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten