# Pairing session with Ben Holmen

> Let's pair program together! This is a low stakes and approachable hang - we'll take turns hacking on whatever we need to code that day. If we haven't met before, expect to chat and get to know each other first, then dive in. If we've met, we'll jump in and start coding right away!

- Host: Ben Holmen
- Duration: 60 min
- Location: Google Meet
- Host time zone: America/Chicago
- Confirmation: The host confirms each booking; it stays pending until they accept it.
- Booking page: https://cal.com/benholmen/pairing
- Event type id: 727404

## Check availability

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

- Required fields: `name` (Your name), `email` (Email address)
- Optional fields: `handle` (What's your Bluesky or Twitter handle?), `notes` (Additional notes)
- `name` and `email` go in `attendee` and `guests` is a list of emails; every other field goes in `bookingFieldsResponses` under its name.
- A successful response is a pending booking request.
