I found that Openclaw reply all contact that send me text with it pairing code.
I do not want Openclaw to answer any chat in whatsapp except me.
How should i do?
A newbie question
I found that Openclaw reply all contact that send me text with it pairing code.
I do not want Openclaw to answer any chat in whatsapp except me.
How should i do?
A newbie question
Hey there! Not a problem, and certainly not a bad question.
What’s happening most likely is that WhatsApp is set to pairing mode by default. That means anyone who messages your number can receive a pairing code. You’ll want to change that to allowlist mode so OpenClaw only responds to you.
Run these commands, replacing the example number with your own WhatsApp number, including the country code:
openclaw config set channels.whatsapp.dmPolicy allowlist
openclaw config set channels.whatsapp.allowFrom '["+15551234567"]' --strict-json
openclaw config set channels.whatsapp.selfChatMode true
openclaw config set channels.whatsapp.groupPolicy disabled
openclaw gateway restart
That should do the trick! OpenClaw will respond to your own messages, ignore messages from other contacts without sending pairing codes, and stay out of WhatsApp groups.
One caveat: if you’ve previously approved other people’s pairing requests, those approvals can still grant access, so you’ll want to revoke those separately.
There’s more information in the WhatsApp documentation.
Welcome aboard!
-Joe
Yo Joe,
Thank you for your kind knowledge.
It should work now.