OpenWA
A self-hosted gateway that lets your own programs send and receive WhatsApp messages.
- Your data
- Your choice: device or online
- Coding needed
- Developers only
- Cost
- Free
- Runs on
- Server
- Computer
- Made for servers or data centres
A self-hosted gateway that lets your own programs send and receive WhatsApp messages.
OpenWA is a WhatsApp API gateway: a program you run on your own server that lets other software send and receive WhatsApp messages through an API (a doorway that lets programs talk to each other). You link a WhatsApp number by scanning a QR code, then manage it from a web dashboard.
It can send and receive text and media, handle groups, labels and WhatsApp Channels, run several WhatsApp accounts at once, and pass new messages to other systems through webhooks (automatic messages sent when something happens). Access keys can be limited to chosen chats.
Its README says it is unofficial: it connects through reverse-engineered WhatsApp Web clients, not Meta's official business API. It warns there is always some risk WhatsApp restricts or bans the number, advises using a spare number, and says it is not suitable for regulated uses such as healthcare or finance.
OpenWA includes an MCP server (a standard plug that lets AI assistants use other software), so assistants such as Claude or Cursor can read chats and, if you allow it, send messages. Its README says the MCP server is off by default and must be switched on, and that when on it offers read-only tools unless you also enable sending.
Platform terms: WhatsApp
OpenWA connects to WhatsApp by a method that WhatsApp does not officially support. This use may be inconsistent with WhatsApp's terms of service, and accounts used in this way may be restricted or suspended. The project's own documentation acknowledges this risk. Please review WhatsApp's terms before connecting an account you depend on. WhatsApp terms of service.
Developers and hobbyists building personal projects or internal tools that need to send WhatsApp messages, who accept the account risk the makers describe.
Developers only. It is set up with Docker and used mainly by other programs through its API, so it suits people comfortable with technical setup. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?