Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Variable
Data Type
Description

token

string

Your API Token for Authentication

application

number

Specify through which application the message need to sent

121 = WhatsApp Business API 101 = WhatsApp Cloud API

If you have connected multiple channels or using WhatsApp Cloud api then please get the channel id from your project under Channel Settings

template_id

string

Template ID of the approved template

mpm

Object

Contains the configuration details for the Multi-Product Message (MPM), including the thumbnail product and product sections.

thumbnail_product_id

String

Specifies the product ID of the product to be displayed as the thumbnail in the MPM message. 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

sections

Array

Contains the list of product sections included in the MPM message.

title

String

Specifies the title of a product section. You can define up to 10 sections.

Maximum 24 characters. Markdown is not supported.

product

String

Contains the list of products included in a section.

product_id

String

Specifies the ID of the product to be included in the section. SKU number of the item you want to appear in the section. SKU numbers are labeled as Content ID in the Commerce Manager. Supports up to 30 products total, across all sections

data

Array

Contains the recipient details and template-specific information for the message.

number

String

Specifies the recipient's WhatsApp phone number, including the country code

template_message

Array

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.

language

String

Specifies the language code of the WhatsApp template, such as "en"

Sample Request Body

Last updated

Was this helpful?