Installation
Authentication
Browser login (interactive)~/.kapso/cli/.
API key (CI / non-interactive environments)
Project context
After login, the CLI remembers your active project. Switch between projects with:Setup
Connect a WhatsApp number to your project:Numbers
--phone-number or --phone-number-id to specify which number to act on. You can also pass the number as a positional argument where supported.
Messages
Send a text message
Send with a JSON payload
For media, interactive, or any advanced message type, pass a JSON payload:List and get messages
Conversations
Templates
Webhooks
Create a webhook
whatsapp.message.received, whatsapp.message.sent, whatsapp.message.delivered, whatsapp.message.read, whatsapp.message.failed, whatsapp.conversation.created, whatsapp.conversation.ended, whatsapp.conversation.inactive.
Manage webhooks
Message buffering
Buffer multiplewhatsapp.message.received events into a single delivery:
Customers
Output formats
All commands support--output json or --output human. Most default to json — pipe into jq for scripting:

