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

Carousel

Send a scrollable set of template 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": "template",
  "template": {
    "name": "product_carousel",
    "language": {
      "code": "en_US"
    },
    "components": [
      {
        "type": "body",
        "parameters": [
          {
            "type": "text",
            "text": "Alex"
          }
        ]
      },
      {
        "type": "carousel",
        "cards": [
          {
            "card_index": 0,
            "components": [
              {
                "type": "header",
                "parameters": [
                  {
                    "type": "image",
                    "image": {
                      "link": "https://example.com/p1.jpg"
                    }
                  }
                ]
              },
              {
                "type": "body",
                "parameters": [
                  {
                    "type": "text",
                    "text": "Blue Tee"
                  }
                ]
              },
              {
                "type": "button",
                "sub_type": "quick_reply",
                "index": "0",
                "parameters": [
                  {
                    "type": "payload",
                    "payload": "BUY_P1"
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}'
Previous
Authentication
Send a one-time passcode template.
Next
⌘I
github
Powered byThis documentation is built and hosted on Mintlify, a developer documentation platform