BroadcastVariables
Where each template variable comes from: header and body by placeholder
("1", "2"… or the name), buttons by button index. Every contact or field source
requires a fallback for whoever lacks the data. A media header needs headerMedia.
header object
property name* VariableSource
contact (a contact detail), attribute (a custom field) or static (a fixed value).
Possible values: [contact, attribute, static]
first_namePossible values: non-empty and <= 200 characters
Possible values: non-empty and <= 1000 characters
body object
property name* VariableSource
contact (a contact detail), attribute (a custom field) or static (a fixed value).
Possible values: [contact, attribute, static]
first_namePossible values: non-empty and <= 200 characters
Possible values: non-empty and <= 1000 characters
buttons object
property name* VariableSource
contact (a contact detail), attribute (a custom field) or static (a fixed value).
Possible values: [contact, attribute, static]
first_namePossible values: non-empty and <= 200 characters
Possible values: non-empty and <= 1000 characters
headerMedia object
Possible values: [image, video, document]
Possible values: <= 2000 characters
Possible values: <= 100 characters
Possible values: <= 240 characters
{
"body": {
"1": {
"source": "contact",
"key": "first_name",
"fallback": "cliente"
},
"2": {
"source": "static",
"value": "BLACK20"
}
}
}