CLI Overview
Install and use the Keplars CLI to send emails and manage resources from your terminal
The Keplars CLI lets you send emails, manage contacts, audiences, automations, and domains directly from your terminal.
Installation
brew tap KeplarsHQ/cli
brew install keplarsscoop bucket add keplars https://github.com/KeplarsHQ/cli
scoop install keplarscurl -fsSL https://cli.keplars.com/install.sh | shirm https://cli.keplars.com/install.ps1 | iexVerify the installation:
keplars --versionQuick Start
1. Set your API key
keplars config set api-key YOUR_API_KEYYour key is saved to ~/.keplars/config.json and used automatically for all commands.
2. Send your first email
keplars send \
--to [email protected] \
--from [email protected] \
--subject "Hello from CLI" \
--text "This email was sent from the Keplars CLI."3. Check API status
keplars statusAPI Key Types
Two key types are supported:
- Regular API key (
kms_...) - required for sending emails viakeplars send - Admin API key - required for managing contacts, audiences, automations, and domains
Get both keys from the Keplars Dashboard under Settings → API Keys.
Next Steps
- Command Reference - Full list of commands, flags, and examples
- Send Emails - Learn about the email API
- Authentication - API key setup