Skip to main content
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:
{
  "to": "+14155551234",
  "channel": "whatsapp",
  "messageType": "contact",
  "content": {
    "contacts": [
      {
        "name": "Support Team",
        "phones": ["+1234567890", "+0987654321"]
      }
    ]
  }
}

Multiple Contacts

Share multiple contacts in a single message:
{
  "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