Quick start
From a fresh installation to your first message in five steps.
1. Create the owner account
Open the dashboard (http://YOUR_SERVER:5001). The first visit asks for your name, email and a password: this becomes the owner account. Later visits show the sign-in page.

2. Link a WhatsApp number
Go to Sessions → Add session.

- Give the session an ID, such as
sales. You'll use it in API calls. Spaces become_. - Choose how to link:
- QR code: on your phone open WhatsApp → Settings → Linked devices → Link a device and scan the code.
- Pairing code: enter the phone number, then on the phone choose Link with phone number instead and type the 8-character code.

The code refreshes by itself; the counter under it shows when. If nobody scans it for about 2½ minutes the session is removed. Click Generate new QR to try again.
Once linked, the session shows Connected with the number and its WhatsApp name. The last 7 days of chats are imported into the inbox.
3. Create an API key
Go to API Keys → New key, give it a name (for example the app that will use it) and copy the key. It is shown only once.

4. Send your first message
curl -X POST http://YOUR_SERVER:5001/message/send-text \
-H "key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{"session": "sales", "to": "6281234567890", "text": "Hello from WA Gateway 👋"}'to is the phone number with country code, digits only. The message appears on the phone and in the inbox.
5. Receive messages
Pick one, or both:
- Inbox: open Inbox in the dashboard and answer from the browser. Learn more.
- Webhook: go to Webhooks → Add webhook, enter your server's URL and choose the events. Learn more.
Next steps
- Invite your team under Users. See Users & roles.
- Explore every endpoint in the API reference, or open
/docson your gateway for interactive docs. - Put the dashboard behind HTTPS.