Link a WhatsApp account by scanning a QR code

channels

// what it does

WhatsApp installs the @openclaw/whatsapp plugin on first use and links by QR — openclaw channels login --channel whatsapp prints the code to scan from your phone. Session credentials land in ~/.openclaw/credentials/whatsapp/<account>/creds.json (Baileys under the hood). Use --account to link more than one number.

// shell

$ openclaw channels add --channel whatsapp
$ openclaw channels login --channel whatsapp --account work

// gotcha

Login is QR-only, so on a headless or remote host you must get the live QR to your phone before it expires — a screenshot of a stale terminal render will not scan.

// resources