> ## 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 event types

> List Calendly event types for a user or organization.

`calendly.listEventTypes` requires `user` or `organization` and returns paginated event type configurations.

```ts automations/list-calendly-event-types.automation.ts theme={null}
import { automation, onDashboardRun, sendEmail } from "automate.ax"
import { calendly } from "automate.ax/calendly"

export default automation("List active Calendly event types", () => {
  onDashboardRun({ title: "List active event types" })
  const page = calendly.listEventTypes({
    active: true,
    user: "https://api.calendly.com/users/user-id",
  })
  sendEmail({ subject: "Active event types", text: JSON.stringify(page.items) })
})
```

Optional filters include `active`, `adminManaged`, and `userAvailabilitySchedule`. Sorting defaults to `name:asc`; pagination uses `count` and `pageToken`.
