lemlist-cli
v0.1.3
Published
Unofficial CLI for the lemlist API — manage campaigns, leads, enrichment and more
Maintainers
Readme
lemlist-cli
Unofficial CLI for the lemlist API — manage campaigns, leads, enrichment and more from your terminal.
Disclaimer: This project is not affiliated with, endorsed by, or sponsored by lemlist.
Installation
npm install -g lemlist-cli
# or run directly
npx lemlist-cliSetup
Configure your API key:
lemlist config set-key YOUR_API_KEY
# or use the environment variable
export LEMLIST_API_KEY=your-keyUsage
# List campaigns
lemlist campaigns list
# Get campaign details
lemlist campaigns get <campaignId>
# List leads in a campaign
lemlist leads list <campaignId>
# Enrich a contact
lemlist enrich run --email [email protected]
# Search people database
lemlist search people --query "CTO in Berlin"
# Deploy a full campaign from YAML
lemlist deploy campaign.yml
# Get help
lemlist --help
lemlist campaigns --helpOutput Modes
# Pretty table (default)
lemlist campaigns list
# JSON output
lemlist campaigns list --json
# Quiet mode (IDs only, for scripting)
lemlist campaigns list --quietAvailable Commands
| Command | Description |
|---------|-------------|
| campaigns | List, get, create, update, start, pause campaigns |
| leads | Manage campaign leads |
| contacts | List and get contacts |
| companies | List companies and manage notes |
| enrich | Enrich leads and data |
| search | Search people and companies database |
| inbox | Conversations, drafts, labels |
| schedules | Manage sending schedules |
| sequences | Manage campaign sequences and steps |
| tasks | List and manage tasks |
| team | Team info, credits, senders |
| unsubscribes | Manage unsubscribe list |
| webhooks | Manage webhooks |
| lemwarm | Manage email warming |
| deploy | Deploy full campaigns from YAML config |
| config | Manage CLI configuration |
License
MIT
