# Bezpłatna diagnoza — medifik with Piotr Mazur

> 30-minutowa rozmowa online podczas której sprawdzimy czy i jak medifik może pomóc Twojej klinice. Bez zobowiązań, bez sprzedażowego nacisku — tylko konkretna analiza Twojej sytuacji.

- Host: Piotr Mazur
- Duration: 30 min
- Location: Cal Video
- Host time zone: Europe/Warsaw
- Confirmation: Bookings are confirmed instantly.
- Booking page: https://cal.com/decodeed.com/bezpłatna-diagnoza-medifik
- Event type id: 5857160

## Check availability

```http
GET https://api.cal.com/v2/slots?eventTypeId=5857160&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": 5857160,
  "start": "<UTC ISO 8601 start from the slots response>",
  "attendee": {
    "name": "…",
    "email": "…",
    "timeZone": "<IANA time zone>"
  },
  "bookingFieldsResponses": {
    "clinic_name": "…",
    "edm_system": "…",
    "attendeePhoneNumber": "…",
    "team_size": "…",
    "patients_monthly": "…"
  }
}
```

- Required fields: `name` (Your name), `email` (Adres email), `clinic_name` (Nazwa kliniki), `edm_system` (Jakiego systemu EDM używa Twoja klinika?)
- Optional fields: `attendeePhoneNumber` (Numer telefonu), `team_size` (Ile osób liczy Twój zespół?), `patients_monthly` (Ilu pacjentów przyjmuje klinika miesięcznie?)
- `name` and `email` go in `attendee` and `guests` is a list of emails; every other field goes in `bookingFieldsResponses` under its name.
