WhatsApp Gateway
Guides

Guides

What the gateway is, how to run it, and how to send and receive WhatsApp messages over HTTP.

This gateway turns a WhatsApp number into a REST API. You pair a phone once, then send and receive messages over HTTP — from your own code or from the dashboard.

The two parts

PartWhat it isWhat it does
GatewayA Go serviceHolds the WhatsApp connection, serves the REST API, and emits the event stream.
DashboardThe web frontendWhere people sign in, pair numbers, create API keys, and watch messages.

Both parts use the same database. You can run them on one machine for yourself, or deploy them on separate hosts.

This can get your number banned

The gateway talks to WhatsApp through an unofficial client — software that connects to WhatsApp without using its official Business API. WhatsApp prohibits bots and unofficial clients; automated use may violate its Terms and get the number banned. The built-in rate limiting and human-mimicry (read receipts, typing presence) reduce that risk but do not remove it. Use a number you can afford to lose, and use it at your own risk.

Start here

Read these top to bottom the first time through. Each page builds on the one before it.

For exact request and response shapes, follow the links into the API reference.

On this page