> ## 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 teams

> Lists Cal.com teams visible to the connected user.

`calcom.listTeams` lists Cal.com teams visible to the connected user.

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

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

## Input

This action takes no input.

## Output

Returns an array of teams visible to the connected account.

| Field            | Type             | Required | Description                                                                                          |
| ---------------- | ---------------- | -------- | ---------------------------------------------------------------------------------------------------- |
| `id`             | `number`         | Yes      | Team ID.                                                                                             |
| `name`           | `string`         | Yes      | Team name.                                                                                           |
| `isOrganization` | `boolean`        | Yes      | Whether the team is an organization.                                                                 |
| `parentId`       | `number`         | No       | Parent organization ID.                                                                              |
| `slug`           | `string`         | No       | Team booking slug.                                                                                   |
| `logoUrl`        | `string \| null` | No       | Team logo. Cal.com may return an absolute URL or a provider-relative path such as `/api/avatar/...`. |
| `bio`            | `string`         | No       | Team biography.                                                                                      |
| `isPrivate`      | `boolean`        | No       | Whether the team is private.                                                                         |
| `hideBranding`   | `boolean`        | No       | Whether Cal.com branding is hidden.                                                                  |
| `metadata`       | `object`         | No       | Team metadata.                                                                                       |
| `timeFormat`     | `number`         | No       | Team time format.                                                                                    |
| `timeZone`       | `string`         | No       | Team time zone.                                                                                      |
| `weekStart`      | `string`         | No       | First day of the team week.                                                                          |

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.
