Brevo CLI v2.0.0 — upgrade notice

The Brevo CLI (@getbrevo/cli) has a new major version, 2.0.0, which introduces breaking changes. If you are on v1.1.1 or earlier, migrate to 2.0.0 — some commands may not work as expected on older versions.

Upgrade:

$npm install -g @getbrevo/cli@latest
$# or
$yarn global add @getbrevo/cli@latest
$# or
$brew upgrade getbrevo/tap/brevo

Confirm your version with brevo --version. See the latest release on npm, and the full CLI reference for current commands.

Deals API — filter by owner, stage, and pipeline

GET /crm/deals now documents three additional query filters, so you can narrow results server-side instead of fetching every deal and filtering client-side:

  • filters[attributes.deal_owner] — filter by deal owner (pass the owner’s account email)
  • filters[attributes.deal_stage] — filter by stage (pass the stage ID)
  • filters[attributes.pipeline] — filter by pipeline (pass the pipeline ID)

Retrieve stage and pipeline IDs from GET /crm/pipeline/details/{pipelineID}.