DocsAPI ReferenceCalendar/api/v1/calendar/add-event
postCalendarPublic API v1

/api/v1/calendar/add-event

No description provided.

calendarpostApiV1CalendarAdd-event

Parameters

1 query · 1 body

2 total
Query · 1
apiKeystringRequired

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

Body · 1
eventobjectRequired14 fields

Request

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": "jan@barasek.com",
        "phone": "+420 777123456"
      }
    ],
    "type": "training"
  }
}'

Response

JSON payload

{
  "eventId": "fqdjnvzrfqjcsmvyhgjirjtvftknayzx"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key