Skip to content
Wazapin
Esc
navigateopen⌘Jpreview
On this page

Send contact

Share a contact card in WhatsApp.

Share a tappable contact card — support numbers, account managers, or referrals the customer can save in one tap.

At a glance

Item Detail
type contact
Channel support Official and unofficial
Organization Optional content.organization

Request body

Field Required Description
channel_id Yes Sender channel ID
to Yes Recipient phone number
type Yes contact
content.full_name Yes Contact display name
content.phone Yes Contact phone number
content.organization No Company or group name

Example

curl -X POST "https://api.wazapin.com/v1/messages" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_id": "wzp_abc123",
    "to": "6281234567890",
    "type": "contact",
    "content": {
      "full_name": "Wazapin Support",
      "phone": "628111111111",
      "organization": "Wazapin"
    }
  }'
import { WazapinClient } from "@wazapin/sdk";

const wazapin = new WazapinClient({ apiKey: process.env.WAZAPIN_API_KEY! });

await wazapin.messages.send({
  channel_id: "wzp_abc123",
  to: "6281234567890",
  type: "contact",
  content: {
    full_name: "Wazapin Support",
    phone: "628111111111",
    organization: "Wazapin",
  },
});
import requests

requests.post(
    "https://api.wazapin.com/v1/messages",
    headers={"X-Api-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
        "channel_id": "wzp_abc123",
        "to": "6281234567890",
        "type": "contact",
        "content": {
            "full_name": "Wazapin Support",
            "phone": "628111111111",
            "organization": "Wazapin",
        },
    },
    timeout=30,
).raise_for_status()

Was this page helpful?