Get contact
get_contactLook up a single WhatsApp contact by JID or phone number. Pass either parameter — both work. If multiple raw contacts share the same phone (label dupes), the saved variant wins.
Examples: By JID: { jid: "5491155550001@c.us" } By phone with +: { phone: "+5491155550001" } By phone bare: { phone: "5491155550001" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | No | Full WhatsApp JID (e.g. "5491155550001@c.us") | |
| phone | No | Phone number — leading "+" and "00" are stripped during matching |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | The JSON-compatible result returned by the Kaption extension |