# Prof. Huan Zhang Office Hour with Huan Zhang

> Each slot is 5 minutes or 10 minutes. 24 hours advance appointment is required. Slots for the next 8 days are shown. Office location: CSL 262 The office hours are available for officially registered students only. Your meeting will be considered canceled automatically if you are not a registered student of this class. If you are auditing and not officially registered, please email the instructor to book a meeting instead.

- Host: Huan Zhang
- Duration: 5, 10 min
- Location: CSL 262
- Host time zone: America/Chicago
- Confirmation: Bookings are confirmed instantly.
- Booking page: https://cal.com/huanzhang/zhang-in-person-hour
- Event type id: 603231

## Check availability

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

- Required fields: `name` (Your name), `email` (Email address), `question` (What is the question you want to ask during the office hour?), `confrim` (Please confirm you are a registered student of this class. If you are not officially registered, you should not book an appointment here.)
- Optional fields: none
- `name` and `email` go in `attendee` and `guests` is a list of emails; every other field goes in `bookingFieldsResponses` under its name.
- `lengthInMinutes` picks one of 5, 10; pass the same value to the slots request as `duration`.
