Actions12
Send Contact
AI-generatedSummary
Send a WhatsApp contact card to a recipient
Inputs
- to (required) — Recipient — phone number (e.g., 14155551234) or JID (e.g., 1234567890@s.whatsapp.net)
- contactName (required) — Contact Name
- contactPhone (required) — Phone number with country code (no + or spaces)
Output shape
a single record representing the sent contact message
Response contains the API's acknowledgment fields; errors are thrown as WhatsappApiError
Examples
Example 1: Send a contact card to a new user
To: 14155551234, Contact Name: John Doe, Contact Phone: 14155551234, Operation: Send Contact
Example 2: Forward an existing contact card
Uses same To, Contact Name, and Contact Phone parameters as a normal sendContact call