Skip to content

Contact Messages

Send WhatsApp contact card messages: share contact info with name, phone numbers, emails and addresses. Useful for referrals and intros.

View .md

Share contact cards with users so they can easily save contact information.

Send a Contact

const message = await zavu.messages.send({ to: "+14155551234", channel: "whatsapp", messageType: "contact", content: { contacts: [ { name: "John Doe", phones: ["+1234567890"] } ] } });

Multiple Phone Numbers

Share a contact with multiple phone numbers:

JSON
{ "to": "+14155551234", "channel": "whatsapp", "messageType": "contact", "content": { "contacts": [ { "name": "Support Team", "phones": ["+1234567890", "+0987654321"] } ] } }

Multiple Contacts

Share multiple contacts in a single message:

JSON
{ "to": "+14155551234", "channel": "whatsapp", "messageType": "contact", "content": { "contacts": [ { "name": "Sales Team", "phones": ["+1234567890"] }, { "name": "Support Team", "phones": ["+0987654321"] } ] } }

Specifications

PropertyRequirement
nameRequired
phonesRequired, array of phone numbers

Use Cases

  • Share support contact details
  • Send sales representative info
  • Provide emergency contacts
  • Share team member details