Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

HookMyApp home pagelight logodark logo
  • GitHub
  • Agent Skills
  • npm

Getting started

  • Introduction
  • Quickstart
  • Build with AI
  • Agent setup
  • Personal AI agent
  • OpenClaw
  • Hermes Agent

Sending & receiving

  • Connect WhatsApp
    • Send text
    • Send buttons
    • Send lists
    • Send image
    • Send video
    • Send audio
    • Send document
    • Send sticker
    • Send location
    • Request user location
    • Send contact
    • Send reaction
    • Mark messages as read
  • Receive webhooks
  • Sandbox
  • Webhook routing
  • Event subscriptions

Tools

  • Development advice
  • CLI
  • Agent skills
  • MCP
  • Support from your agent

Self-managed setup

  • Manual Meta setup

FAQs

  • Payment issues
  • Pricing
  • Display names

API Reference

  • API overview
  • Support
  • App
WhatsApp
Instagram
Facebook
SaaS Mode
HookMyApp home pagelight logodark logo
  • Support
  • App
  • App
WhatsApp
Instagram
Facebook
SaaS Mode
Send messages

Send contact

Send one or more contact cards.

curl -X POST "https://gateway.hookmyapp.com/meta/v22.0/${WHATSAPP_PHONE_NUMBER_ID}/messages" \
  -H "Authorization: Bearer ${WHATSAPP_ACCESS_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
  "messaging_product": "whatsapp",
  "to": "15551234567",
  "type": "contacts",
  "contacts": [
    {
      "name": {
        "formatted_name": "Acme Support",
        "first_name": "Acme",
        "last_name": "Support"
      },
      "phones": [
        {
          "phone": "+15551234567",
          "type": "WORK",
          "wa_id": "15551234567"
        }
      ]
    }
  ]
}'
Previous
Send reaction
React to a message with an emoji.
Next
⌘I
github
Powered byThis documentation is built and hosted on Mintlify, a developer documentation platform