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
    • Simple text
    • Text header
    • Media header
    • Location header
    • Buttons
    • Carousel
    • Authentication
    • Advanced
    • Template lifecycle
  • 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 templates

Location header

Add a map-pin header to a template.

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": "template",
  "template": {
    "name": "delivery_eta",
    "language": {
      "code": "en_US"
    },
    "components": [
      {
        "type": "header",
        "parameters": [
          {
            "type": "location",
            "location": {
              "latitude": "37.7749",
              "longitude": "-122.4194",
              "name": "Our store",
              "address": "123 Market St"
            }
          }
        ]
      },
      {
        "type": "body",
        "parameters": [
          {
            "type": "text",
            "text": "Alex"
          }
        ]
      }
    ]
  }
}'
Previous
Buttons
Pass dynamic values to quick-reply and URL buttons.
Next
⌘I
github
Powered byThis documentation is built and hosted on Mintlify, a developer documentation platform