> ## 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 organization memberships

> List Calendly organization members by organization, user, email, or role.

`calendly.listOrganizationMemberships` returns paginated membership records.

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

export default automation("List Calendly admins", () => {
  onDashboardRun({ title: "List Calendly admins" })
  const page = calendly.listOrganizationMemberships({
    organization: "https://api.calendly.com/organizations/organization-id",
    role: "admin",
  })
  sendEmail({ subject: "Calendly admins", text: JSON.stringify(page.items) })
})
```

Filters are optional; `count` defaults to 20 and `pageToken` continues from `pageInfo.nextPageToken`. Roles are `owner`, `admin`, or `user`.
