# Automation Intro Call with Dinesh Miriyala

> Bring a process your team repeats manually. We'll map out how it would work as an automation, what it connects to, and roughly what it takes to build. You'll leave with a plan you can use whether or not you work with me.

- Host: Dinesh Miriyala
- Duration: 30 min
- Location: Google Meet
- Host time zone: Asia/Kolkata
- Confirmation: Bookings are confirmed instantly.
- Booking page: https://cal.com/dinesh-miriyala/30min
- Event type id: 6531127

## Check availability

```http
GET https://api.cal.com/v2/slots?eventTypeId=6531127&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": 6531127,
  "start": "<UTC ISO 8601 start from the slots response>",
  "attendee": {
    "name": "…",
    "email": "…",
    "timeZone": "<IANA time zone>"
  },
  "guests": [
    "guest@example.com"
  ],
  "bookingFieldsResponses": {
    "What-s-the-process-you-want-automated": "…",
    "What-tools-are-you-using-now": "…"
  }
}
```

- Required fields: `name` (Your name), `email` (Email address)
- Optional fields: `guests` (Add guests), `What-s-the-process-you-want-automated` (What's the process you want automated?), `What-tools-are-you-using-now` (What tools are you using now?)
- `name` and `email` go in `attendee` and `guests` is a list of emails; every other field goes in `bookingFieldsResponses` under its name.
