contacts
Read when: finding synced contacts or managing local contact metadata.
wacli contacts works with contact metadata stored locally. Aliases and tags are local to wacli; they do not edit WhatsApp contacts on the phone.
#Commands
wacli contacts search <query> [--limit N]
wacli contacts show --jid JID
wacli contacts refresh
wacli contacts alias set --jid JID --alias NAME
wacli contacts alias rm --jid JID
wacli contacts tags add --jid JID --tag TAG
wacli contacts tags rm --jid JID --tag TAG
#Notes
searchmatches alias, full name, push name, first name, business name, phone, and JID.refreshimports contacts from the whatsmeow session store intowacli.db.- Local aliases are preferred in contact search and display.
- Tags are local grouping metadata for scripts and future workflows.
#Examples
wacli contacts search Alice
wacli contacts show --jid 1234567890@s.whatsapp.net
wacli contacts refresh
wacli contacts alias set --jid 1234567890@s.whatsapp.net --alias mom
wacli contacts tags add --jid 1234567890@s.whatsapp.net --tag family