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

> List Brevo transactional email templates with filters and offset pagination.

`listTemplates` returns the current content and status of a page of templates.

## Example

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

export default automation("List active templates", () => {
  onHttpRequest({ scope: "automation" })

  listTemplates({ templateStatus: true, limit: 100 })
})
```

## Inputs

`limit` defaults to 50 (maximum 1,000), `offset` to 0, and `sort` to `desc`.
`templateStatus` filters active (`true`) or inactive (`false`) templates;
`editorType: "richTextEditor"` restricts editor type. `account` selects the
Brevo binding.

## Output

Returns `{ count: number; templates: Template[] }`. Each template includes
numeric `id`, `name`, `subject`, `htmlContent`, `isActive`, timestamps, sender
email and optional ID/name, plus optional `replyTo`, `tag`, `testSent`, and
`toField`. `count` is the provider's matching total; use `offset` to page.
