# OnCall Office Demo with Ray Diez

> 20 minutes. We'll look at your call volume, you'll hear the demo line live, and if it fits we'll set it up on your line.

- Host: Ray Diez
- Duration: 20 min
- Location: Google Meet
- Host time zone: America/Los_Angeles
- Confirmation: Bookings are confirmed instantly.
- Booking page: https://cal.com/oncalloffice/demo
- Event type id: 7012377

## Check availability

```http
GET https://api.cal.com/v2/slots?eventTypeId=7012377&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": 7012377,
  "start": "<UTC ISO 8601 start from the slots response>",
  "attendee": {
    "name": "…",
    "email": "…",
    "timeZone": "<IANA time zone>"
  },
  "guests": [
    "guest@example.com"
  ],
  "bookingFieldsResponses": {
    "attendeePhoneNumber": "…",
    "Company-Name": "…",
    "Roughly-how-many-calls-do-you-miss-a-week": "…"
  }
}
```

- Required fields: `name` (Your name), `email` (Email address), `attendeePhoneNumber` (Phone number), `Company-Name` (Company Name)
- Optional fields: `guests` (Add guests), `Roughly-how-many-calls-do-you-miss-a-week` (Roughly how many calls do you miss a week?)
- `name` and `email` go in `attendee` and `guests` is a list of emails; every other field goes in `bookingFieldsResponses` under its name.
