API Reference

Send Media Template Message

Send a template message that contains a media header (Image, Video, or Document) and optional body variables.

Example Request Body

{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "919999595313",
  "type": "template",
  "template": {
    "name": "test_tempalte",
    "language": {
      "code": "en"
    },
    "components": [
      {
        "type": "header",
        "parameters": [
          {
            "type": "image",
            "image": {
              "link": "[https://hello-assets-prod.s3.amazonaws.com/...jpg](https://hello-assets-prod.s3.amazonaws.com/...jpg)"
            }
          }
        ]
      },
      {
        "type": "body",
        "parameters": [
          {
            "type": "text",
            "text": "Harsh"
          }
        ]
      }
    ]
  }
}
Language
Click Try It! to start a request and see the response here!