KosmoKrator

marketing

Brevo CLI for Headless Automation

Use the Brevo CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 5 read 2 write API key auth

Brevo CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Brevo CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Brevo CLI for Headless Automation
kosmokrator integrations:configure brevo --set api_key="$BREVO_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call brevo.brevo_list_contacts '{"limit":1,"offset":1,"search":"example_search"}' --json

Discovery Before Execution

Agents and scripts can inspect Brevo docs and schemas before choosing a function.

kosmo integrations:docs brevo --json
kosmo integrations:docs brevo.brevo_list_contacts --json
kosmo integrations:schema brevo.brevo_list_contacts --json
kosmo integrations:search "Brevo" --json
kosmo integrations:list --json

Useful Brevo CLI Functions

FunctionTypeParametersDescription
brevo.brevo_list_contacts Read limit, offset, search List contacts in your Brevo account. Supports pagination and filtering by email or search term.
brevo.brevo_get_contact Read email Get details of a specific contact in Brevo by their email address. Returns contact attributes, list memberships, and creation date.
brevo.brevo_create_contact Write email, attributes, listIds Create a new contact in Brevo. You can set attributes like first name and last name, and add the contact to one or more lists.
brevo.brevo_list_lists Read limit, offset List all contact lists in your Brevo account. Supports pagination with limit and offset.
brevo.brevo_get_list Read id Get details of a specific contact list in Brevo by its ID. Returns the list name, total subscribers, and other metadata.
brevo.brevo_send_email Write sender, to, subject, htmlContent, textContent Send a transactional email via Brevo. Specify sender, recipients, subject, and HTML or text content.
brevo.brevo_get_account Read none Get information about the connected Brevo account, including email, plan details, and account statistics.

Automation Notes

Related Brevo CLI Pages