Text Template Messages#
Text Template Messages are WhatsApp templates that contain only text content. Depending on the template design, the message can be either static or dynamic.There are two types of text templates:Static Text Template#
A Static Text Template contains only fixed text.The same message is sent to every customer because it does not contain any variables.If you need to change the message content, you must create a new template and get it approved by Meta.Hello,
Thank you for contacting ABC Store.
Our team will get back to you shortly.
Every customer receives the same message.Payload Example#
{
"to": "<USER_PHONE_NUMBER>",
"type": "template",
"template": {
"name": "<TEMPLATE_NAME>",
"language": "<TEMPLATE_LANGUAGE>"
}
}
Variable Text Template#
A Variable Text Template contains one or more variables that are replaced with actual values when the message is sent.This allows businesses to personalize the same template for different customers without creating multiple templates.Variable Template Payload Example#
{
"to": "<USER_PHONE_NUMBER>",
"type": "template",
"template": {
"name": "<TEMPLATE_NAME>",
"language": "<TEMPLATE_LANGUAGE>",
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "<BODY_VARIABLE_VALUE_1>"
},
{
"type": "text",
"text": "<BODY_VARIABLE_VALUE_2>"
}
{
"type": "text",
"parameter_name":"<BODY_VARIABLE_PARAMETER_NAME_1>",
"text": "<VARIABLE_VALUE_1>"
},
{
"type": "text",
"parameter_name":"<BODY_VARIABLE_PARAMETER_NAME_2>",
"text": "<VARIABLE_VALUE_2>"
},
]
}
]
}
}
Modified at 2026-08-06 06:32:59