> ## 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 type available times

> List bookable Calendly times for an event type.

`calendly.listEventTypeAvailableTimes` accepts an event type URI and an RFC 3339 UTC window of at most 31 days.

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

export default automation("List Calendly availability", () => {
  onDashboardRun({ title: "List Calendly availability" })
  const times = calendly.listEventTypeAvailableTimes({
    eventType: "https://api.calendly.com/event_types/event-type-id",
    startTime: "2027-01-04T09:00:00Z",
    endTime: "2027-01-11T09:00:00Z",
  })
  sendEmail({ subject: "Available times", text: JSON.stringify(times.items) })
})
```

Each item contains `startTime`, `status`, `inviteesRemaining`, and a booking URL. Calendly accepts only future windows; the action rejects reversed or overlong ranges before calling the provider.
