selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

WAHA logo

Self-host WAHA

2026.10.1

WhatsApp HTTP API you run on your own server

ReleaseOpen SourceApache-2.0
docker run -it --rm -p 3000:3000/tcp --name waha devlikeapro/waha
Updatedlast week
LanguageTypescript
Setup difficultyEasy
Stars
7 779
CPU
2CPU
RAM
4GB
Port
3000 (HTTP server for the REST API, Swagger docs, dashboard and MCP endpoint)
Docker
devlikeapro/waha
WAHA dashboard with the WhatsApp sessions listSwagger reference of the WhatsApp HTTP APIEvent monitor showing incoming WhatsApp events liveChat UI built into the dashboard

What 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.

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

WAHA

WAHA - WhatsApp HTTP API (REST API) that you can install on your own server and run in less than 5 minutes!

Docker Pulls

How to install WAHA

Install WAHA with Docker

installed docker
docker pull devlikeapro/waha
docker run -it --rm -p 3000:3000/tcp --name waha devlikeapro/waha

Docker is the only stated requirement.

How to configure WAHA

  • WAHA_API_KEYRequires an X-Api-Key header on all API requests; accepts a plain key or a sha512 hash.

    values: {PLAIN_KEY}|sha512:{SHA512_HEX_HASH}

  • WAHA_DASHBOARD_USERNAMEwahaUsername used to log in to the dashboard.
  • WAHA_DASHBOARD_PASSWORDPassword used to log in to the dashboard.
  • WHATSAPP_DEFAULT_ENGINEWEBJSDefault engine used for all sessions.

    values: WEBJS|NOWEB|GOWS (WPP also documented on the engines page)

  • WAHA_NAMESPACEMain storage namespace for apps, API keys and shared config.

    values: defaults to the engine name; 'all' recommended for new setups

WAHA releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

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

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…