The short answer
Use OpenClaw's own channel before adding another service.
OpenClaw connects through WhatsApp Web with Baileys. Its Gateway keeps that link running. You normally do not need another messaging service for this setup.
A linked-device connection does not remove WhatsApp's rules. Do not use it for unwanted bulk messages or contact people who did not expect your message.
Name the parts
The channel carries the chat into the OpenClaw Gateway.
This is not the official WhatsApp Business Cloud API. It is also not VoidFix or another outside messaging gateway. Those ways to connect use different accounts and message paths. They also use different credentials.
Prepare four things
Decide who owns the number and who may use the agent.
A running OpenClaw install
Finish the normal OpenClaw setup first. The Gateway must be able to start before a chat channel can stay connected.
A WhatsApp number you control
OpenClaw recommends a separate number. Decide who owns it and who can use the linked phone.
A private place for the QR code
Scan the live code directly. Do not publish it in a screenshot, chat, guide, support post, or recording.
A sender access plan
Start with pairing or a small allowlist. Do not open a tool-enabled agent to every unknown sender.
OpenClaw setup guide:OpenClaw WhatsApp channel guide
Six setup steps
Link the account, then approve the person.
- 01
Add the WhatsApp channel. Run
openclaw onboardoropenclaw channels add --channel whatsapp. OpenClaw offers to install its WhatsApp channel plugin when it is missing. Or install it by hand withopenclaw plugins install @openclaw/whatsapp. - 02
Choose the sender policy. In the channel settings, keep direct messages (DMs) on
pairingwhile you set up. Review the DM and group rules below before adding users. - 03
Show the login QR code. Login is QR-only. On a remote server without a screen, first arrange a reliable way to get the live QR to your phone. Screenshots or forwarded images can expire on the way. Then run
openclaw channels login --channel whatsapp. - 04
Link the WhatsApp account. On the phone, open WhatsApp's Linked Devices screen and scan the QR code. Treat that QR code like a short-lived password.
- 05
Start the OpenClaw Gateway. Run
openclaw gateway. The Gateway keeps the live WhatsApp connection and listens for messages. - 06
Approve the first sender. Send a message to the linked number. Open Settings → Channels → DM access requests, find the WhatsApp account, and approve the sender. Or find the code with
openclaw pairing list whatsappand approve it withopenclaw pairing approve whatsapp <CODE>.
The QR code links the WhatsApp account to OpenClaw. The later pairing code approves a person who wants to message the agent. One code does not replace the other.
Two separate doors
Account login and sender approval protect different things.
Door 1: WhatsApp login
The QR code links the WhatsApp account. Anyone who gets a live login code may be able to add a linked device, so keep it private.
Door 2: agent access
The direct-message policy decides which senders can reach the agent. With pairing, an unknown sender waits until the operator approves the request.
Pairing codes have 8 characters and expire after 1 hour. Up to 3 requests can wait per WhatsApp account. Extra requests are ignored until one expires or is approved. Approval gives DM access only, not group access.
Pairing rules can change. Check the current limits:OpenClaw sender pairing guide
Before real users
Keep the sender list small and the agent's power limited.
- 01
Run OpenClaw's built-in safety check. Use
openclaw security auditafter changing access and before other people can reach the Gateway. - 02
Set the DM policy.
dmPolicyhas four values.pairingis the default: unknown senders request access, and you approve them. An allowlist is a list of approved phone numbers. Put those numbers inallowFrom. Withallowlist, only those numbers can send DMs. Withopen, you must put"*"inallowFrom.disabledblocks all DMs. - 03
Limit groups.
groupPolicysets the group access rule.groupAllowFromlists the allowed group senders. By default, group replies require a mention of the agent. Allow only groups and senders you have reviewed. - 04
Protect saved login files. Keep the OpenClaw data folder and WhatsApp login files out of public backups and shared code folders.
- 05
Do not trust links, files, or instructions inside messages. They can try to trick the agent. Limit risky tools and keep sensitive work separate.
If different groups must not share data, read the security guide to learn how to keep them separate.
Small checks first
Find whether the problem is login, Gateway, or access.
| What you see | Check | Useful command |
|---|---|---|
| Not linked | Run QR login again and scan the live code | openclaw channels login --channel whatsapp |
| Linked but no replies | Check Gateway and channel health | openclaw channels status --probe |
| Unknown sender waits | Review the direct-message access request | openclaw pairing list whatsapp |
| Repeated reconnects | Check the host connection, run openclaw channels status --probe and openclaw gateway status, then read openclaw logs --follow. | openclaw doctor |
Back up the correct account data before logging out or linking the account again. openclaw channels logout --channel whatsapp clears the WhatsApp login for that account.
Guides used for this setup
Check OpenClaw's guides for updated steps.
- OpenClaw WhatsApp channel guide
- OpenClaw sender pairing guide
- OpenClaw Gateway security guide
- WhatsApp Terms of Service
Sources checked November 10, 2026. Commands, plugin behavior, and WhatsApp rules can change. We did not test message delivery, connection time, or account limits for this page.
Straight answers
OpenClaw WhatsApp questions.
Does OpenClaw have a built-in way to connect WhatsApp?
Yes. OpenClaw documents a WhatsApp channel plugin that the normal channel setup can install. The OpenClaw Gateway owns the linked session after login.
Does OpenClaw WhatsApp use the official Cloud API?
No. OpenClaw uses WhatsApp Web through Baileys. This channel does not use the WhatsApp Business Cloud API.
Do I need VoidFix or Twilio for OpenClaw WhatsApp?
No. This channel uses WhatsApp Web through Baileys. OpenClaw has no separate Twilio WhatsApp channel.
Can I use my personal WhatsApp number?
Yes. Personal-number and self-chat setups are fully supported. OpenClaw recommends a separate number for clearer sender lists and routing.
Why does an unknown sender get a pairing code?
Pairing stops an unknown sender's message from reaching the agent until the operator approves that sender. It is different from the QR code that links the WhatsApp account.
How long does a WhatsApp pairing request stay open?
One hour. Up to three requests can wait per WhatsApp account. After expiry, message again to request a new code. The bot only sends a pairing message when it creates a new request, roughly once per hour per sender.
Will WhatsApp keep working when my computer is off?
Only if the OpenClaw Gateway runs on another always-on computer or server. The linked phone alone does not keep your OpenClaw process running.