~/my-app
$ loops transactional send cmnx1d95z001llilji4vapgqs \
--email "$TEST_EMAIL" \
--var firstName=Ada \
--var projectName="Q3 launch" -o json
{
"success": true
}
$ loops events send inviteSent \
--user-id usr_123 \
--props ./event-props.json -o json
{
"success": true
}
$
Test email sent and event recorded

Why use the Loops CLI

Run Loops from your terminal, your scripts, and your coding agent.

$ loops transactional send cmnx1d95z… --email "$TEST_EMAIL" --var name=Sam {"success": true}

Test sends in seconds

Send a real transactional email with sample data before you ship.

Send a signup event for usr_123
›loops events send signup --user-id usr_123
✓Event sent

Your agent can run it

Claude Code, Codex, and Cursor use it to add contacts, send events, and draft campaigns.

$ loops lists list -o json [ { "name": "Product updates" }, { "name": "Newsletter" } ]

Script anything

Add -o json to any command and pipe the output into scripts and CI.

my-appDefault
my-app-staging--team

Every team, one terminal

Store a key per team and pick one with a flag.