Loading...
Loading...
Send iMessage and SMS from the shell via the @sendblue/cli npm package — outbound sends, contact management, and account setup with no API client or webhook server required.
npx skill4agent add sendblue-api/skills sendblue-cli@sendblue/cli~/.sendblue/credentials.json600sendblue@sendblue/clinpm install -g @sendblue/cli # global, exposes `sendblue`
# or one-shot:
npx @sendblue/cli <command>sendblue setupsendblue setup --email you@example.com # sends code
sendblue setup --email you@example.com --code 12345678 \
--company my-co --contact +15551234567 # completes setup| Flag | Notes |
|---|---|
| Email address |
| 8-digit verification code (from the email) |
| Lowercase, hyphens/underscores, 3–64 chars |
| First contact, E.164 |
sendblue send +15551234567 'Hello from Sendblue!'
sendblue messages --inbound --limit 20+sendblue setup ... --contact +15551234567sendblue contacts| Command | Purpose |
|---|---|
| Create account, verify email, set company name, add first contact |
| Log in to an existing account |
| Send an iMessage |
| List recent messages |
| Register a contact |
| List contacts and their verification status |
| Account/plan info |
| Show current credentials and verify validity |
long_running_thing && sendblue send +15551234567 "✅ done: $(date)"sendblue messages -n +15551234567 --inbound --limit 50sendblue whoami || sendblue loginStopStopsettings.jsonsendblue send+155512345675551234567(555) 123-4567sendblue whoamisetup~/.sendblue/credentials.jsonsudo~/.sendblue/credentials.json600sudosendblue send5551234567(555) 123-4567+15551234567sendblue contacts--email--code~/.sendblue/credentials.json600sudosetup@sendblue-api@sendblue-notify@update-configsendblue sendStopNotification