Free, open source, self-hosted WhatsApp API gateway
open sourceMITself-hostablefree
OpenWA is a self-hosted WhatsApp HTTP API gateway: it exposes sending and receiving messages, groups, channels, newsletters and labels as REST endpoints, with signed (HMAC) webhooks for incoming events, multiple WhatsApp sessions per server and a web dashboard in 15 languages. It drives WhatsApp through either whatsapp-web.js (a headless Chromium) or Baileys, with scoped API keys, CIDR whitelisting, a proxy per session, Swagger docs and bulk messaging, and stores data in SQLite or PostgreSQL with Redis and S3 or MinIO, in a multi-arch Docker image. It has plugins and integrations for n8n and ioBroker. It isn't affiliated with WhatsApp or Meta, and its own FAQ warns that accounts risk bans. MIT.
Problems it solves
- send WhatsApp messages from my app through a REST API without paying a Business API provider
- receive incoming WhatsApp messages in my backend as webhooks
- run several WhatsApp numbers from one self-hosted server
- send order and shipping notifications to customers on WhatsApp
- connect WhatsApp to my n8n automations
- a self-hosted alternative to WhatsApp Business API providers
Features
- REST API for messages, groups, channels, newsletters and labels
- multi-session: several WhatsApp accounts per server
- HMAC-signed webhooks
- web dashboard in 15 languages
- scoped API keys, CIDR whitelisting and a proxy per session
- Swagger docs
- bulk messaging
- whatsapp-web.js or Baileys engines
- SQLite or PostgreSQL, Redis, S3 or MinIO
- multi-arch Docker images
View 1 more
- plugins; n8n and ioBroker integrations
Limitations
- Not an official WhatsApp API: it automates WhatsApp Web, so accounts risk being banned1
Capabilities
| Has an API | plan not known |
|---|---|
| Takes plugins | plan not known |
| Sends webhooks | plan not known |
