Get Profile
wa_get_profileLook up who a phone number is on WhatsApp, from one of your accounts: whether it is registered, its public name, about text, profile picture and — for a business — its categories, contact details and hours. An empty about or picture means the peer has not shared it with this account, not that it has none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | the number to look up, in international form (e.g. +447700900111) | |
| account_id | Yes | which of your accounts to ask from, from wa_list_accounts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | No | ||
| name | No | the best available public name | |
| note | No | ||
| about | No | the peer's status text, when they let this account see it | |
| phone | No | ||
| refusal | No | present only when the request was declined | |
| business | No | present only for a business account | |
| is_business | No | true or false when known; ABSENT means the lookup could not establish it (see note) — absence is not a no | |
| name_source | No | business or none — a verified business name is vouched for by WhatsApp; "none" means nothing public is published | |
| on_whatsapp | Yes | false means the number is not registered on WhatsApp at all | |
| picture_url | No | a WhatsApp-hosted URL that expires; fetch it promptly |