Send a contact card
send_contact_cardSend a contact card the recipient can save to their phone.
Set exactly one recipient: number, group_id, or contact_id.
phones takes plain E.164 numbers, 1 to 10 of them. emails,
organization, title and address are optional extra fields on the
card; emails allows up to 10 as well.
A contact card cannot be edited after it is sent: delete_message is the
only change for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | The job title shown on the card, up to 100 characters. | |
| emails | No | The email addresses on the card, up to 10. | |
| number | No | Recipient phone number in E.164 form, digits only, country code first (e.g. `5511999999999`). Set exactly one of `number`, `group_id` or `contact_id`. | |
| phones | Yes | The phone numbers on the card, 1 to 10, each in E.164 form with the country code first (e.g. `5511999999999`). | |
| address | No | The postal address on the card, up to 500 characters. | |
| group_id | No | Recipient group id (`grp_…`), from `list_groups`. A group id belongs to one number: an id from one inbox does not address the same group in another. Set exactly one of `number`, `group_id` or `contact_id`. Addressing a group needs a plan that includes group messaging: without it the call answers `payment_required: feature_not_available`, and retrying will not change that. | |
| contact_id | No | Recipient contact id (`ct_…`), from `list_contacts`. A contact id belongs to one number: an id from one inbox does not address the same person in another. Set exactly one of `number`, `group_id` or `contact_id`. | |
| display_name | Yes | The name shown on the card, 1 to 200 characters. | |
| number_alias | No | Which of the organization's WhatsApp numbers this acts on: `main`, the alias of an extra number, or the number's `id` (`num_…`), which stays the same when the alias is renamed. Call `list_numbers` to see them. Defaults to the main number. | main |
| organization | No | The company shown on the card, up to 200 characters. | |
| idempotency_key | No | Any printable ASCII text you choose, 1 to 255 characters, for example the id of the event you are answering. Reusing it for the same number suppresses a duplicate if you retry. Without it, retrying after a timeout may deliver the message twice, and the recipient sees both. | |
| quoted_message_id | No | Quote an earlier message (`msg_…`) so it appears above yours. Do this only when your text depends on something said a while ago, yours or theirs; do not quote the message you are answering right now, send a normal message instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||