Skip to main content
POST
/
v3
/
{phone_number_id}
/
messages
Send Interactive Media Template Message - Quick Reply
curl --request POST \
  --url https://one.telepie.com/v3/{phone_number_id}/messages \
  --header 'apikey: <api-key>'

Request Body Parameters

phone_number_id
string
required
Specifies the recipient’s phone number in international format (e.g., “1xxxxxxxxxx”).
{
  "messaging_product": "whatsapp",
  "recipient_type": "individual",
  "to": "{{Recipient number}}",
  "type": "template",
  "template": {
    "language": {
      "code": "en"
    },
    "name": "{{Template Name}}",
    "components": [
      {
        "type": "body",
        "parameters": [
          {
            "type": "text",
            "text": "{{text string}}"
          },
          {
            "type": "text",
            "text": "{{text string}}"
          },
          {
            "type": "text",
            "text": "{{text string}}"
          }
        ]
      },
      {
        "type": "button",
        "sub_type": "quick_reply",
        "index": 0,
        "parameters": [
          {
            "type": "payload",
            "payload": "aGlzIHRoaXMgaXMgY29v"
          }
        ]
      },
      {
        "type": "button",
        "sub_type": "quick_reply",
        "index": 1,
        "parameters": [
          {
            "type": "payload",
            "payload": "9rwnB8RbYmPF5t2Mn09x4h"
          }
        ]
      }
    ]
  }
}