# Mentorship Session with Mark Liang

> 請先至 LINE 討論諮詢議題： 加我 LINE 好友 諮詢前注意事項： 若實際諮詢超過預訂時長，超過 10 分鐘以內不額外收加時費，超過 10-30 分鐘則依比例加收，最多不超過 30 分鐘。 若因故需改期或取消，請務必提前至少兩天通知（不含諮詢當日）。若晚於此期限，恕不接受退費申請。

- Host: Mark Liang
- Duration: 30, 60 min
- Location: Google Meet
- Host time zone: Asia/Taipei
- Confirmation: The host confirms each booking; it stays pending until they accept it.
- Booking page: https://cal.com/mark-liang/mentorship
- Event type id: 397345

## Check availability

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

- Required fields: `name` (Your name), `email` (Email address), `title` (What is this meeting about?)
- Optional fields: `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.
- `lengthInMinutes` picks one of 30, 60; pass the same value to the slots request as `duration`.
- A successful response is a pending booking request.
