> For the complete documentation index, see [llms.txt](https://help.pickyassist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickyassist.com/api-documentation-v2/push-api/sending-whatsapp-template-messages/sending-mpm-template-message.md).

# Sending MPM Template Message

This API allows you to send WhatsApp Multi-Product Messages (MPM) outside the 24-hour customer service window using approved message templates.

### Request URL

Method : **`POST`**

```
https://app.pickyassist.com/api/v2/push
```

### API Variables

<table><thead><tr><th width="205">Variable</th><th width="195">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>token</td><td>string</td><td>Your API Token for Authentication</td></tr><tr><td>application</td><td>number</td><td><p>Specify through which application the message need to sent</p><p></p><p>121 = WhatsApp Business API<br>101 = WhatsApp Cloud API</p><p></p><p><strong>If you have connected multiple channels or using WhatsApp Cloud api then please get the channel id from your project under</strong> <a href="https://app.pickyassist.com/settings/channels"><strong>Channel</strong></a> <strong>Settings</strong></p></td></tr><tr><td>template_id</td><td>string</td><td>Template ID of the approved template</td></tr><tr><td>mpm</td><td>Object</td><td>Contains the configuration details for the Multi-Product Message (MPM), including the thumbnail product and product sections.</td></tr><tr><td>thumbnail_product_id</td><td>String</td><td>Specifies the product ID of the product to be displayed as the thumbnail in the MPM message.<br><br>Item SKU number. Labeled as Content ID in the Commerce Manager. The thumbnail of this item will be used as the template message's header image</td></tr><tr><td>sections</td><td>Array</td><td>Contains the list of product sections included in the MPM message.</td></tr><tr><td>title</td><td>String</td><td><p>Specifies the title of a product section.<br><br>You can define up to 10 sections.</p><p>Maximum 24 characters. Markdown is not supported.</p></td></tr><tr><td>product</td><td>String</td><td>Contains the list of products included in a section.</td></tr><tr><td>product_id</td><td>String</td><td>Specifies the ID of the product to be included in the section.<br><br>SKU number of the item you want to appear in the section.<br>SKU numbers are labeled as Content ID in the Commerce Manager.<br>Supports up to 30 products total, across all sections</td></tr><tr><td>data</td><td>Array</td><td>Contains the recipient details and template-specific information for the message.</td></tr><tr><td>number</td><td>String</td><td>Specifies the recipient's WhatsApp phone number, including the country code</td></tr><tr><td>template_message</td><td>Array</td><td>Specifies the values to be substituted into the template's dynamic body parameters, in the order they appear in the template. This parameter is required only if the template body contains dynamic variables.</td></tr><tr><td>language</td><td>String</td><td>Specifies the language code of the WhatsApp template, such as "en"</td></tr></tbody></table>

### Sample Request  Body

```javascript
{
	"token": "{{token}}",
	"application": "8",
	"template_id": "PQ112360",
	"mpm":{
		"thumbnail_product_id":"DFDS32434",
       	"sections":[
         {
            "title":"Section1",
            "product":[
               {
                  "product_id":"DFDS32434",
               },
               {
                  "product_id":"DRRS32434",
               }
            ]
         },
         {
            "title":"Section2",
             "product":[
               {
                  "product_id":"DFDS32434",
               },
               {
                  "product_id":"DRRS32434",
               }

         }
      ]
	
  },
   "data":[
      {
         "number":"19834434690",
	"template_message": [
            	       "*James*",
            	       "Picky Assist"
        	],
        	"language": "en"

      }   ]
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.pickyassist.com/api-documentation-v2/push-api/sending-whatsapp-template-messages/sending-mpm-template-message.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
