> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List calendars

> Lists calendars connected to the current Cal.com account.

`calcom.listCalendars` lists calendars connected to the current Cal.com account.

```ts automations/list-calendars.automation.ts theme={null}
import { automation, markSignificant } from "automate.ax"
import { calcom } from "automate.ax/calcom"

export default automation("List calendars", () => {
  markSignificant(calcom.listCalendars({}))
})
```

## Input

This action takes no input.

## Output

| Field                                         | Type             | Required | Description                                 |
| --------------------------------------------- | ---------------- | -------- | ------------------------------------------- |
| `connectedCalendars`                          | `object[]`       | Yes      | Connected calendar integrations.            |
| `connectedCalendars[].integration`            | `object`         | Yes      | Integration identity and provider metadata. |
| `connectedCalendars[].credentialId`           | `number`         | Yes      | Credential identifier.                      |
| `connectedCalendars[].delegationCredentialId` | `string \| null` | No       | Delegated credential identifier.            |
| `connectedCalendars[].primary`                | `object`         | No       | Primary calendar for the connection.        |
| `connectedCalendars[].calendars`              | `object[]`       | No       | Calendars available through the connection. |
| `destinationCalendar`                         | `object`         | Yes      | Default destination calendar.               |

Cal.com enforces account role, plan, and availability requirements. Provider rejections surface as structured action failures with the HTTP status and any `Retry-After` delay.
