Skip to main content

malipopaysmsservice_TemplateSendValues

Everything a template asks for, filled against its approved definition. Read the field list for a given template from inputs on GET /api/v1/waba/templates.

bodystring[]

Body variables in {{1}}..{{n}} order.

Example: ["Erick","A1356"]
headerstring

Header text, when the header is TEXT and carries a placeholder.

headerMediaLinkstring

Public URL of the header image, video or document.

headerMediaIdstring

A media id from POST /api/v1/waba/media, instead of a link.

buttons object

Button values keyed by the button's index within the template's BUTTONS component ("0" is the first). A link button takes the part of the URL that changes per recipient, a coupon button takes the code, and a quick-reply button takes the payload returned on your webhook when it is tapped. A phone button, and a link with no placeholder, take no value.

property name*string
malipopaysmsservice_TemplateSendValues
{
"body": [
"Erick",
"A1356"
],
"header": "string",
"headerMediaLink": "string",
"headerMediaId": "string",
"buttons": {
"0": "A1356"
}
}