How do I get the JID of a WhatsApp group

Option 1 (fastest): tail logs and send a test message in the group:
openclaw logs --follow --json
Look for chatId (or from) ending in @g.us, like: 1234567890-1234567890@g.us.
Option 2 (if already configured/allowlisted): list groups from config:
openclaw directory groups list --channel whatsapp
Docs: WhatsApp, Directory, Logs.