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

> Retrieve the connected Brevo account, plans, credits, and SMTP relay configuration.

`brevo.getAccount` retrieve the connected Brevo account, plans, credits, and SMTP relay configuration.

## Example

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

export default automation("Get account", () => {
  onDashboardRun({ title: "Get account" })
  brevo.getAccount()
})
```

## Inputs

This action has no first argument. Pass `{ account }` as the second argument to select a non-default Brevo API-key binding.

## Output

Returns the account identity, company profile, `organizationId`, `userId`, plan arrays, and SMTP relay state. Plan and credit availability depends on the Brevo account.
