# OnyxWork discovery call with Ammar | OnyxWork

> Tell us where work gets stuck: leads, customer calls, follow-ups, scheduling, records or reporting. We’ll discuss your current tools, the task you want handled and a practical starting point. 30 minutes on Google Meet. See our services at https://onyxwork.dev

- Host: Ammar | OnyxWork
- Duration: 30 min
- Location: Google Meet
- Host time zone: Africa/Cairo
- Confirmation: Bookings are confirmed instantly.
- Booking page: https://cal.com/onyxwork/30min
- Event type id: 5924459

## Check availability

```http
GET https://api.cal.com/v2/slots?eventTypeId=5924459&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": 5924459,
  "start": "<UTC ISO 8601 start from the slots response>",
  "attendee": {
    "name": "…",
    "email": "…",
    "timeZone": "<IANA time zone>"
  },
  "guests": [
    "guest@example.com"
  ],
  "bookingFieldsResponses": {
    "Company-Name": "…",
    "What-work-would-you-like-us-to-automate": "…"
  }
}
```

- Required fields: `name` (Your name), `email` (Email address)
- Optional fields: `guests` (Add guests), `Company-Name` (Company Name), `What-work-would-you-like-us-to-automate` (What work would you like us to automate?)
- `name` and `email` go in `attendee` and `guests` is a list of emails; every other field goes in `bookingFieldsResponses` under its name.
