Open source Inbox for the official WhatsApp Cloud API.
Open source Inbox for the official WhatsApp Cloud API.
A WhatsApp Web-style inbox built with Next.js for the WhatsApp Cloud API. Send messages, templates, and interactive buttons with a familiar UI.
git clone https://github.com/gokapso/whatsapp-cloud-inbox.git
cd whatsapp-cloud-inbox
npm installCreate .env:
KAPSO_API_KEY=your_kapso_api_key
WHATSAPP_API_URL=https://api.kapso.ai/meta/whatsapp # Optional: custom API endpoint
# Optional: only needed when your platform API is on a different host
KAPSO_API_BASE_URL=https://api.kapso.ai
# Optional: backwards-compatible single-number fallback
PHONE_NUMBER_ID=your_phone_number_id
WABA_ID=your_business_account_idnpm run devOpen http://localhost:4000/settings to choose which WhatsApp numbers the inbox tracks. The app discovers PHONE_NUMBER_ID and WABA_ID values from Kapso using KAPSO_API_KEY, then stores the selected numbers in an HTTP-only cookie.
Send WhatsApp-approved templates with dynamic parameters:
Create button messages without templates:
Automatically enforces WhatsApp's messaging policy:
Issues and PRs welcome. Keep it simple.
MIT
No open issues yet, or sync has not completed.