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

# Get contact list

> Retrieve one Brevo contact list and optional campaign statistics.

`getContactList` resolves an exact name or positive ID and returns detailed list
metadata.

## Example

```ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { getContactList } from "automate.ax/brevo"

export default automation("Inspect the customer list", () => {
  onHttpRequest({ scope: "automation" })

  getContactList({ list: "Customers" })
})
```

`list: string | number` is required. Optional inclusive `startDate` and
`endDate` must be provided together to request campaign statistics. `account`
selects the Brevo binding.

Returns the list fields documented by [List contact lists](/reference/integrations/brevo/actions/list-contact-lists), plus `createdAt`, optional `dynamicList`, and optional `campaignStats`.
