Self-host WAHA
2026.10.1WhatsApp HTTP API you run on your own server
docker run -it --rm -p 3000:3000/tcp --name waha devlikeapro/waha- Stars
- 7 779
- CPU
- 2CPU
- RAM
- 4GB
- Port
- 3000 (HTTP server for the REST API, Swagger docs, dashboard and MCP endpoint)
devlikeapro/wahaWhat is WAHA?
WAHA is an open-source HTTP/REST gateway that lets you drive a personal WhatsApp account from any language able to make HTTP calls. You start the Docker container, open the built-in Swagger UI, create a session, scan a QR code with your phone, and then push text, image, video and voice messages through endpoints such as POST /api/sendText. Incoming activity is delivered to your application over webhooks or websockets, and the same API covers chats, contacts, groups, channels, status updates, polls, presence, labels and calls. Under the hood it can run several interchangeable engines: WEBJS and WPP drive a real Chromium or Chrome browser, while NOWEB and GOWS talk to WhatsApp over websockets, so CPU and memory usage can be tuned per deployment. A web dashboard lets you manage sessions and API keys and watch events live, and an MCP endpoint exposes WhatsApp to AI agents. Everything is configured through environment variables; session data and media can live on local disk, PostgreSQL, MongoDB (deprecated) or S3-compatible storage, and the API is protected with an X-Api-Key you can store as a SHA512 hash. Because it automates WhatsApp Web instead of the official Business API, accounts can still be blocked, and the docs advise not to expose the service on public networks.
WAHA alternatives
WhatomateSelf-hosted WhatsApp Business Platform with calling, visual IVR, S3 recordings, chatbot, campaigns, and team inbox — all on your infrastructure.CompareWhatomate with WAHA
WBOTSelf-hosted WhatsApp bot in Node.js that auto-replies via keyword rules in JSON config. Runs on Linux/macOS/Windows with Puppeteer; all data stays local.CompareWBOT with WAHA
wacrmOpen-source, self-hosted WhatsApp CRM on the official Business API: shared inbox, Kanban pipelines, broadcasts, no-code automations, BYO-key AI replies.Comparewacrm with WAHA
Signal-APISelf-hosted, open-source Docker container that wraps signal-cli as a REST API, so scripts can register a Signal number and send, receive and manage messages.CompareSignal-API with WAHA
DeskcommCRMSelf-hosted MIT CRM where AI agents answer and qualify leads on WhatsApp, with kanban funnels, per-tenant RAG, automations and LGPD tooling. No paid tier.CompareDeskcommCRM with WAHA
AppwriteThe open-source cloud for agents & devs. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime, WAF and moreCompareAppwrite with WAHA
ChattoChatto is an open-source, self-hosted team chat server: one compact binary, no separate database, with rooms, threads, attachments, search, calls and SSO.CompareChatto with WAHA
OpeniLink HubSelf-hosted WeChat Bot platform (iLink) with 20+ app integrations. Multi-bot management, WebSocket/Webhook/AI routing, message tracing, Passkey auth.CompareOpeniLink Hub with WAHA
Should you self-host WAHA?
WAHA scores 73/100 on selfhost.directory (how scoring works) and ranks #2 of 14 in Messaging. It has 7 779 GitHub stars, +227 in the last 30 days.
It shipped 18 stable releases in the past year. The latest, 2026.10.1, came out on 28 October 2026. New versions land roughly every 3 weeks.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.
Its closest alternative on selfhost.directory is EMQX (77/100, 16 890 stars). It scores higher overall, so compare the two before you pick. See WAHA vs EMQX side by side.
Features
- API key protection
- Built-in web dashboard
- Chat UI example
- Group Management
- Incoming messages via webhooks
- MCP server for AI agents
- Multiple WhatsApp sessions
- Pluggable storage backends
- Proxy Support
- Real-time events via WebSockets
- REST / HTTP API for WhatsApp
- Send text and multimedia messages
- Swagger and OpenAPI documentation
- Swappable WhatsApp engines
- WhatsApp Channels and Status automation
WAHA README
FAQ
Is WAHA free?
Yes, since version 2026.6.1 WAHA is fully free and open source, with unlimited sessions and messages and no separate paid image.
How much CPU and Memory does WAHA need?
Requirements depend on the engine: the docs recommend at least a 2 CPU / 4 GB RAM server even for one session, and give per-engine tables up to hundreds of sessions (WEBJS being the heaviest, GOWS the lightest).
More in Messaging
WaxumSelf-hosted WhatsApp gateway in Rust with 230+ endpoints for messaging, calls, groups, and webhooks.
WuzAPISelf-hosted open-source RESTful API for WhatsApp using Whatsmeow, supporting multi-device sessions, webhooks, and a web dashboard.
AltusSelf-hosted Docker image running Altus WhatsApp client in a browser with themes, multi-account support, and GPU acceleration via Selkies streaming.
apimeSelf-hosted, open-source WhatsApp REST API gateway in Go with multi-instance dashboard, webhooks, and Node.js SDK.
CentrifugoOpen-source, self-hosted real-time messaging server with PUB/SUB over WebSocket, SSE and gRPC, scaling via Redis, PostgreSQL or NATS, plus an embedded admin UI.- CitadelCitadel is a fully open-source, self-hosted groupware suite that combines email, calendaring, contacts, forums, wikis, blogs, and instant messaging into a single, rooms-based platform. It is designed for both small organizations and large-scale public access systems.
CommetYour space to connect
Eclipse MosquittoSelf-hosted open-source MQTT broker for MQTT 5.0, 3.1.1 and 3.1 with TLS, WebSockets, bridging, ACLs and a C client library plus CLI pub/sub tools.
ejabberdejabberd is a self-hosted, open-source XMPP/MQTT/SIP server in Erlang, proven at massive scale with 2M+ concurrent users per node.
EMQXThe most scalable and reliable MQTT broker for AI, IoT, IIoT and connected vehicles
Evolution GoSelf-hosted WhatsApp API in Go with REST endpoints, webhook/event delivery, QR pairing, PostgreSQL persistence, and MinIO/S3 storage.
fregataA self-hosted REST API delivering messages via Slack, Telegram, Twilio, WeChat, SMTP, and macOS notifications, runnable as a Docker container or Go binary.





0 comments