S
SalesInt.
/Docs
Get API Key

CLI

Schedule posts, manage inbox, run broadcasts, and automate campaigns across every channel from the terminal. Built for developers and AI agents. Outputs JSON by default.

Setup

Install

bash
npm install -g @salesint/cli

Authenticate

bash
salesint auth:login
# Opens your browser to authorize the CLI.
# An API key is created automatically and saved to ~/.salesint/config.json
bash
# Or set a key manually
salesint auth:set --key si_your_api_key_here
bash
# Verify setup
salesint auth:check

Quick Examples

bash
# Schedule a post for tomorrow at 9am
salesint posts:create \
  --text "Hello from the SalesInt CLI!" \
  --accounts acc_twitter123,acc_linkedin456 \
  --scheduledAt "2026-06-10T09:00:00Z"

# List Instagram DM conversations
salesint inbox:conversations --platform instagram --pretty

# Create a WhatsApp broadcast and send it
salesint broadcasts:create \
  --websiteId web_abc \
  --accountId acc_whatsapp \
  --platform whatsapp \
  --name "Summer Sale" \
  --message "Check out our deals this week!"

salesint broadcasts:send <broadcastId>

# Import contacts from CSV
salesint contacts:import --websiteId web_abc --file ./leads.csv

# Get best posting times
salesint analytics:best-time --platform instagram --pretty

Command Reference

Authentication

CommandDescription
salesint auth:loginLog in via browser (creates API key automatically)
salesint auth:set --key <key>Save API key manually
salesint auth:checkVerify API key is valid

Websites

CommandDescription
salesint websites:listList all websites
salesint websites:get <id>Get website details
salesint websites:create --url <url>Add a new website
salesint websites:train <id>Re-train AI on website content

Social Posts

CommandDescription
salesint posts:createCreate a new post
salesint posts:listList posts with optional filters
salesint posts:get <id>Get post details
salesint posts:delete <id>Delete a post
salesint posts:retry <id>Retry a failed post

Contacts

CommandDescription
salesint contacts:listList CRM contacts
salesint contacts:createCreate a contact
salesint contacts:get <id>Get contact details
salesint contacts:update <id>Update a contact
salesint contacts:delete <id>Delete a contact
salesint contacts:import --file ./contacts.csvBulk import from CSV

Inbox

CommandDescription
salesint inbox:conversationsList DM conversations
salesint inbox:messages <id>Get messages in a conversation
salesint inbox:send <id>Send a message in a conversation
salesint inbox:commentsList post comments across accounts
salesint inbox:reply <postId>Reply to a comment

Broadcasts

CommandDescription
salesint broadcasts:listList broadcasts
salesint broadcasts:createCreate a broadcast draft
salesint broadcasts:send <id>Send a broadcast immediately
salesint broadcasts:schedule <id>Schedule a broadcast for later
salesint broadcasts:recipients <id>List broadcast recipients

Campaigns

CommandDescription
salesint campaigns:listList email campaigns
salesint campaigns:createCreate a campaign
salesint campaigns:send <id>Send a campaign
salesint campaigns:analytics <id>View campaign analytics

Analytics

CommandDescription
salesint analytics:postsGet post performance metrics
salesint analytics:dailyGet daily engagement stats
salesint analytics:best-timeGet best times to post
salesint analytics:leadsGet lead capture stats by website

Configuration

The CLI stores settings in ~/.salesint/config.json. You can also use environment variables:

VariableDescriptionRequired
SALESINT_API_KEYYour API keyYes
SALESINT_API_URLCustom API endpointNo
ℹ️Environment variables override the config file. Useful for CI/CD pipelines and server deployments.

Supported Platforms

InstagramWhatsAppTelegramTwitter / XLinkedInFacebookYouTubeTikTokPinterestRedditBlueskyThreadsSnapchatGoogle Business