{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "5511999999999",
"type": "template",
"template": {
"name": "confirmacao_agendamento",
"language": {
"code": "pt_BR"
},
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "João Silva"
},
{
"type": "text",
"text": "15/04/2025 às 14:30"
},
{
"type": "text",
"text": "Dr. Carlos Oliveira"
}
]
},
{
"type": "buttons",
"sub_type": "quick_reply",
"index": "0",
"parameters": [
{
"type": "payload",
"payload": "CONFIRM_APPOINTMENT_12345"
}
]
},
{
"type": "buttons",
"sub_type": "quick_reply",
"index": "1",
"parameters": [
{
"type": "payload",
"payload": "RESCHEDULE_APPOINTMENT_12345"
}
]
}
]
}
}