malipopaysmsservice_WabaSendMessageRequest
tostringrequired
Example:
255712345678typestringrequired
Possible values: [text, template, image, document, audio, video, sticker, location, contacts, interactive, reaction]
fromstring
Example:
255687128012phoneNumberIdstring
sendModestring
Only applies when you name no sender.
Possible values: [merchant-then-platform, merchant-only, platform-only]
conversationCategorystring
Possible values: [MARKETING, UTILITY, AUTHENTICATION, SERVICE]
text object
bodystring
template object
Meta's own template object. Pass components verbatim when you build it yourself; POST /messages/template is the easier route.
namestring
languagestring
componentsobject[]
malipopaysmsservice_WabaSendMessageRequest
{
"to": "255712345678",
"type": "text",
"from": "255687128012",
"phoneNumberId": "string",
"sendMode": "merchant-then-platform",
"conversationCategory": "MARKETING",
"text": {
"body": "string"
},
"template": {
"name": "string",
"language": "string",
"components": [
{}
]
}
}