Skip to main content
Run these commands after authentication. Replace example IDs with returned IDs and use --json for raw results. For a first test email, start with the CLI Quickstart.

Send a Scheduled Email

Use a contact CSV containing only people who opted in. Record their consent, and choose a verified marketing domain before sending.
Sending needs a verified sending domain. Run brew-cli domains list --sendable-only --json and choose a record with sendingPurpose: "marketing". Replace the example schedule with your intended future time.

QA a Design Before a Big Send

If a revision goes wrong, brew-cli emails restore zavwOzhfWqE9HvALKd9bw --to-version 2 brings back any earlier version as the new latest.

Build a Welcome Automation

Create a trigger, attach a graph, test it, then publish and fire it. Replace every example ID, including the saved email version and verified domain.
Wait for a successful test and inspect its logs before publishing. Then enable live runs:
Firing sends to the recipient in the payload. For marketing mail, use a recipient who opted in. brew-cli automations unpublish OcTszWzAApTlgdJWcSF0P stops new runs. Non-interactive destructive calls require --yes for an authorized action.

Keep Your Contact Base Healthy

Report on Performance

With jq installed, read lifetime counts from each send’s stats:

Explore Anything Else

Need Help?

Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:

Search Documentation

Type in the “Ask any question” search bar at the top left to instantly find relevant documentation pages.

Ask ChatGPT or Claude

Click here to open the Copy page menu at the top of this page, then send the page to ChatGPT, Claude, or your editor.