v1

latestOpenAPI 3.0.32026-07-268345159.5 KB

Send MM Lite message with GIF template

Sends a marketing WhatsApp message using a GIF-based template.

post/partner/app/{APP_ID}/onboarding/marketing/msg

Path parameters

APP_IDstring required

App ID associated with the Partner account

Request body

recipient_type'individual' required
messaging_product'whatsapp' required
tostring required
type'template' required

Example request

{
  "recipient_type": "individual",
  "messaging_product": "whatsapp",
  "to": "919999999999",
  "type": "template",
  "template": {
    "name": "promo_gif_template",
    "language": {
      "policy": "deterministic",
      "code": "en"
    },
    "namespace": "abcdef12_3456_7890_abcd_ef1234567890",
    "components": [
      {
        "type": "header",
        "parameters": [
          {
            "type": "GIF",
            "gif": {
              "link": "https://example.com/sample.gif"
            }
          }
        ]
      }
    ]
  }
}

Response

Message sent successfully

messaging_productstring

Example response

{
  "messaging_product": "whatsapp",
  "messages": [
    {
      "id": "1ceeb739-06cd-4434-a1e0-8afac154ede4"
    }
  ],
  "contacts": [
    {
      "input": "9188889945",
      "wa_id": "9188898545"
    }
  ]
}