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 location

Share a pin on the map.

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": "location",
  "location": {
    "latitude": "37.7749",
    "longitude": "-122.4194",
    "name": "Our store",
    "address": "123 Market St, San Francisco"
  }
}'
Previous
Request user location
Ask the user to share their current location.
Next
⌘I
github
Powered byThis documentation is built and hosted on Mintlify, a developer documentation platform