The Loops CLI
Manage contacts, send events, trigger transactional emails, and test your integration, all from the terminal. Supports JSON output for scripting and multi-team auth.
How do I install the Loops CLI?
Install with the recommended script
curl -fsSL https://install.loops.so/cli | sh
or
Homebrew
brew install loops-so/tap/loops
Authenticate
Login
loops auth login <name>
What you can do
Install the Loops CLI with curl, Homebrew, Windows PowerShell, or Go. After installation, authenticate with a Loops API key from Settings → API in the Loops dashboard, then manage contacts, send events, trigger transactional emails with data variables and attachments, handle mailing lists, and manage custom contact properties.
All commands support JSON output (-o json) for scripting and multi-team auth (--team <name>) for switching between workspaces.
Try it out
Create a contact
loops contacts create --email YOUR_EMAIL --first-name Bob
Send an event
loops events send <event> --email YOUR_EMAIL
Trigger a transactional email
loops send <template-id> --email YOUR_EMAIL
Run loops --help for the full command list.