Skip to main content
POST
/
v3
/
{phone_number_id}
/
messages
Send MPM Template Message
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": "91XXXXXXXXXX",
  "type": "template",
  "template": {
    "name": "mpm_25nov1",
    "language": {
      "code": "en_US"
    },
    "components": [
      {
        "type": "header",
        "parameters": [
          {
            "type": "text",
            "text": "Pablo"
          }
        ]
      },
      {
        "type": "body",
        "parameters": []
      },
      {
        "type": "button",
        "sub_type": "mpm",
        "index": 0,
        "parameters": [
          {
            "type": "action",
            "action": {
              "thumbnail_product_retailer_id": "61",
              "sections": [
                {
                  "title": "Popular Bundles",
                  "product_items": [
                    {
                      "product_retailer_id": "61"
                    },
                    {
                      "product_retailer_id": "63"
                    }
                  ]
                },
                {
                  "title": "Premium Packages",
                  "product_items": [
                    {
                      "product_retailer_id": "64"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}