Template message
Webhook body example
{
"typeWebhook": "outgoingMessageReceived",
"instanceData": {
"idInstance": 1234,
"wid": "11001234567@c.us",
"typeInstance": "whatsapp"
},
"timestamp": 1588091580,
"idMessage": "F7AEC1B7086ECDC7E6E45923F5EDB825",
"senderData": {
"chatId": "79001234568@c.us",
"sender": "11001234567@c.us",
"chatName": "",
"senderName": "GreenWaba",
},
"messageData": {
"typeMessage": "templateMessage",
"messageData": {
templateId: "8222a14c-c2e4-4416-b506-4bbbdd456e5f",
params: ["{1}", "{2}", "{3}", "{4}", "{5}", "6"],
}
}
}