WhatsBuddy
Use WhatsApp via CLI with WhatsBuddy
Download the CLI and create a free account in 1 minute. Connect WhatsApp and start automating — manage multiple WhatsApp accounts and company agents, access your data, and unlock special features for developers.
Download
Pick your platform. Binaries default to api.whatsbuddy.com — override with --base-url or WHATSBUDDY_BASE_URL.
Quick start
- Make it executable
chmod +x whatsbuddy sudo mv whatsbuddy /usr/local/bin/ - Set your company REST token
export WHATSBUDDY_TOKEN=your-rest-api-token whatsbuddy accounts - Send your first message
whatsbuddy send "Hi" --to 31612345678 - Search chats and export your data
whatsbuddy search-chats "invoice" whatsbuddy export --out ./backup
Token lives in company settings (rest_api_token). Docs:REST API
Frequently asked questions
How fast can I connect WhatsApp via the CLI?
In about 1 minute. Download the CLI, create a free WhatsBuddy account, connect your WhatsApp and start automating — then use whatsbuddy to manage and control your accounts, agents and data.
Create free account →What can I do with the WhatsBuddy CLI?
Send WhatsApp messages, search your chats, list your connected WhatsApp accounts and export your company data — straight from your terminal. It talks to the same REST API as the WhatsBuddy app, so it fits neatly into scripts, cron jobs and CI pipelines.
REST API docs →Where do I find my API token?
Your company REST API token is in your company settings in the WhatsBuddy app. Set it once with WHATSBUDDY_TOKEN and every command is scoped to your company — the CLI can never see data from other companies.
Can I send messages from a specific WhatsApp account?
Yes. If your company has several WhatsApp accounts connected, choose which one sends the message. Otherwise WhatsBuddy uses your default account.
Can I use the CLI with AI coding agents?
Yes. Agents like Claude Code, Codex or Cursor can run whatsbuddy commands directly, for example to search chats or send a message. Prefer a native integration? Connect them to the WhatsBuddy MCP server instead.
Which platforms are supported?
macOS (Apple Silicon and Intel), Linux (x86_64 and ARM64) and Windows. It is a single binary with no dependencies — download it, make it executable and you are ready to go.
Download the CLI →Is the CLI free?
Yes. The CLI is free to download and included with every WhatsBuddy plan, including the free trial.
Start your free trial →Does WhatsBuddy support webhooks?
Yes. You can register webhooks for all events, so your own systems are notified in real time. You have full control over all your messages, accounts and data.
WhatsBuddy for developers →Can I pause my WhatsApp connection?
Yes. You can pause a WhatsApp account at any time, schedule when your account is on and off, and choose where you want your server to be.
I am a software engineer with a use case for multiple companies. Is there special pricing?
Yes. Developer accounts let you run many companies from one login, each with its own inbox, agents and API token. Contact us for premium pricing for your use case.
Contact us →Can I sell WhatsBuddy and earn a commission?
Yes. Resell WhatsBuddy to your clients and earn up to 40% commission. Get in touch and we will set you up.
Become a partner →