> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/integrations/catalog/cal.com.md).

# Cal.com

Create and manage bookings and availability in Cal.com.

### Connectors

Choose the connector that matches your authentication method. The options below use the names shown in StackAI.

| Connector | Authentication |
| --------- | -------------- |
| Cal.com   | API Key        |

#### Cal.com

Connect to Cal.com to create, manage, and inspect bookings and availability.

**Set up in Cal.com**

1. Sign in to Cal.com, open the menu next to your name, and go to Settings → Developer → API Keys (or visit app.cal.com/settings/developer/api-keys).
2. Click + New, give the key a name, and set an expiration (or enable Never expires).
3. Click Create and copy the API key immediately; it cannot be viewed again after you leave the page.

**Set up in StackAI**

1. Open **Settings → Connections**, add a connection, and select **Cal.com**.
2. Enter the credentials and connection details in the fields below.
3. Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.

**Connection fields**

| StackAI field | Required                 | What to enter                                                                                   |
| ------------- | ------------------------ | ----------------------------------------------------------------------------------------------- |
| API Key       | Yes                      | Your Cal.com API key. [Provider instructions](https://app.cal.com/settings/developer/api-keys). |
| Base URL      | Optional / as applicable | Cal.com API base URL. Leave the default for Cal.com Cloud.                                      |

**Provider documentation:** [Setup reference](https://cal.com/docs/developing/guides/api).

#### Verify the connection

Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.

If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.

### Use an action

1. Add the required **Cal.com** action to the workflow.
2. Select a connection when the action requests one.
3. Complete the required fields. Use the reference picker when a value comes from another workflow step.
4. Run the workflow and inspect the action’s output. Check the result before using it in a later step.

### Actions

#### Create Booking

Create a new booking in Cal.com.

**Inputs**

| Field                   | Type     | Required | Description                                                               |
| ----------------------- | -------- | -------- | ------------------------------------------------------------------------- |
| Event Type ID           | integer  | No       | Numeric Cal.com event type ID.                                            |
| Event Type Slug         | string   | No       | Event type slug to book when not using a numeric event type ID.           |
| Username                | string   | No       | Cal.com username for personal event type slugs.                           |
| Team Slug               | string   | No       | Cal.com team slug for team event type slugs.                              |
| Organization Slug       | string   | No       | Organization slug for Cal.com organizations.                              |
| Start Time              | datetime | Yes      | Booking start time with timezone offset.                                  |
| Attendee Name           | string   | Yes      | Name of the attendee.                                                     |
| Attendee Email          | string   | Yes      | Email address of the attendee.                                            |
| Attendee Timezone       | string   | Yes      | IANA timezone for the attendee.                                           |
| Attendee Language       | string   | No       | Optional attendee language code.                                          |
| Attendee Phone Number   | string   | No       | Optional attendee phone number.                                           |
| Guest Emails            | string   | No       | Optional guest email addresses, comma-separated.                          |
| Length In Minutes       | integer  | No       | Optional booking length override in minutes.                              |
| Metadata                | object   | No       | Optional JSON metadata to attach to the booking.                          |
| Booking Field Responses | object   | No       | Optional JSON object for custom booking field responses.                  |
| Email Verification Code | string   | No       | Optional Cal.com email verification code when required by the event type. |

**Outputs**

| Field           | Type          | Description                                        |
| --------------- | ------------- | -------------------------------------------------- |
| Booking ID      | integer       | Numeric Cal.com booking ID.                        |
| Booking UID     | string        | Cal.com booking UID for follow-up actions.         |
| Status          | string        | Booking status.                                    |
| Start           | string        | Booking start time.                                |
| End             | string        | Booking end time.                                  |
| Attendee Emails | string\_array | Attendee and guest emails attached to the booking. |
| Booking         | object        | Normalized Cal.com booking object.                 |
| Message         | string        | Human-readable success message.                    |

#### Get Booking

Retrieve a single booking from Cal.com.

**Inputs**

| Field                    | Type   | Required | Description                                                  |
| ------------------------ | ------ | -------- | ------------------------------------------------------------ |
| Booking UID or Legacy ID | string | Yes      | Booking UID from Cal.com v2, or a legacy numeric booking ID. |

**Outputs**

| Field                   | Type    | Description                                                      |
| ----------------------- | ------- | ---------------------------------------------------------------- |
| Booking UID             | string  | Cal.com booking UID.                                             |
| Resolved From Legacy ID | boolean | Whether a legacy numeric booking ID had to be resolved to a UID. |
| Booking                 | object  | Normalized Cal.com booking object.                               |
| Message                 | string  | Human-readable success message.                                  |

#### Get All Bookings

List bookings from Cal.com with filters.

**Inputs**

| Field          | Type                      | Required | Description                                                                                                |
| -------------- | ------------------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| Status         | multiple\_select (string) | No       | Optional booking statuses to include. Available values: Upcoming, Recurring, Past, Cancelled, Unconfirmed. |
| After Start    | datetime                  | No       | Return bookings starting after this time.                                                                  |
| Before End     | datetime                  | No       | Return bookings ending before this time.                                                                   |
| Created After  | datetime                  | No       | Return bookings created after this time.                                                                   |
| Created Before | datetime                  | No       | Return bookings created before this time.                                                                  |
| Attendee Email | string                    | No       | Filter by attendee email address.                                                                          |
| Attendee Name  | string                    | No       | Filter by attendee name.                                                                                   |
| Booking UID    | string                    | No       | Filter by booking UID.                                                                                     |
| Event Type ID  | integer                   | No       | Filter by event type ID.                                                                                   |
| Sort Start     | select (string)           | No       | Sort bookings by start time. Available values: Asc, Desc.                                                  |
| Sort End       | select (string)           | No       | Sort bookings by end time. Available values: Asc, Desc.                                                    |
| Sort Created   | select (string)           | No       | Sort bookings by creation time. Available values: Asc, Desc.                                               |
| Max Results    | integer                   | No       | Maximum number of bookings to return. Default: 100.                                                        |

**Outputs**

| Field          | Type          | Description                                        |
| -------------- | ------------- | -------------------------------------------------- |
| Bookings       | object\_array | Normalized booking records.                        |
| Total Bookings | integer       | Number of bookings returned.                       |
| Truncated      | boolean       | Whether more results were available than returned. |
| Message        | string        | Human-readable result summary.                     |

#### Delete Booking

Cancel an existing booking in Cal.com.

**Inputs**

| Field                    | Type   | Required | Description                                                  |
| ------------------------ | ------ | -------- | ------------------------------------------------------------ |
| Booking UID or Legacy ID | string | Yes      | Booking UID from Cal.com v2, or a legacy numeric booking ID. |
| Cancellation Reason      | string | No       | Reason for cancelling the booking.                           |

**Outputs**

| Field                   | Type    | Description                                                      |
| ----------------------- | ------- | ---------------------------------------------------------------- |
| Booking UID             | string  | Cancelled Cal.com booking UID.                                   |
| Resolved From Legacy ID | boolean | Whether a legacy numeric booking ID had to be resolved to a UID. |
| Cancelled               | boolean | Whether the booking was cancelled.                               |
| Status                  | string  | Booking status after cancellation.                               |
| Booking                 | object  | Normalized booking data returned after cancellation.             |
| Message                 | string  | Human-readable success message.                                  |

#### Get Bookable Slots

Retrieve available slots for a Cal.com event type.

**Inputs**

| Field                     | Type     | Required | Description                                             |
| ------------------------- | -------- | -------- | ------------------------------------------------------- |
| Event Type ID             | integer  | No       | Numeric Cal.com event type ID.                          |
| Event Type Slug           | string   | No       | Event type slug when not using a numeric event type ID. |
| Username                  | string   | No       | Cal.com username for personal event type slugs.         |
| Team Slug                 | string   | No       | Cal.com team slug for team event type slugs.            |
| Organization Slug         | string   | No       | Organization slug for Cal.com organizations.            |
| Start Time                | datetime | Yes      | Start time for the slot lookup, including timezone.     |
| End Time                  | datetime | Yes      | End time for the slot lookup, including timezone.       |
| Timezone                  | string   | No       | Optional IANA timezone to shape the slot response.      |
| Duration In Minutes       | integer  | No       | Optional slot duration override in minutes.             |
| Booking UID To Reschedule | string   | No       | Optional booking UID to exclude when rescheduling.      |

**Outputs**

| Field       | Type          | Description                         |
| ----------- | ------------- | ----------------------------------- |
| Slots       | object\_array | Normalized available slot records.  |
| Total Slots | integer       | Number of available slots returned. |
| Message     | string        | Human-readable result summary.      |

### Important behavior

Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.

The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/integrations/catalog/cal.com.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
