# 45 minutowe spotkanie with Michał Wojciechowicz

- Host: Michał Wojciechowicz
- Duration: 45 min
- Location: Google Meet, Phone call, Gdzieś na kawie w Warszawie :) (do ustalenia)
- Host time zone: Europe/Warsaw
- Confirmation: The host confirms each booking; it stays pending until they accept it.
- Booking page: https://cal.com/consami/45min
- Event type id: 7721349

## Check availability

```http
GET https://api.cal.com/v2/slots?eventTypeId=7721349&start=YYYY-MM-DD&end=YYYY-MM-DD&timeZone=<IANA time zone>
cal-api-version: 2024-09-04
```

The response is `{"data":{"YYYY-MM-DD":[{"start":"<ISO 8601 with offset>"}]}}`; no API key is needed.

## Book

```http
POST https://api.cal.com/v2/bookings
cal-api-version: 2026-02-25
Content-Type: application/json

{
  "eventTypeId": 7721349,
  "start": "<UTC ISO 8601 start from the slots response>",
  "attendee": {
    "name": "…",
    "email": "…",
    "timeZone": "<IANA time zone>"
  },
  "guests": [
    "guest@example.com"
  ],
  "bookingFieldsResponses": {
    "firma": "…",
    "branza": "…",
    "attendeePhoneNumber": "…",
    "notes": "…"
  }
}
```

- Required fields: `name` (Your name), `email` (Email address), `firma` (Firma), `branza` (Branża)
- Optional fields: `attendeePhoneNumber` (Phone number), `notes` (W czym możemy pomóc Tobie i Twojej firmie?), `guests` (Add guests)
- `name` and `email` go in `attendee` and `guests` is a list of emails; every other field goes in `bookingFieldsResponses` under its name.
- `location` is optional; without it the booking uses the event’s first location.
- A successful response is a pending booking request.
