curl -X POST \
'https://graph.facebook.com/<API_VERSION>/<PHONE_NUMBER_ID>/messages' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "<WHATSAPP_USER_PHONE_NUMBER>",
"type": "template",
"template": {
"name": "<TEMPLATE_NAME>",
"language": {
"code": "<LANGUAGE_AND_LOCAL_CODE>"
},
"components": [\
{\
"type": "body",\
"parameters": [\
{\
"type": "text",\
"text": "<BODY_TEXT>"\
}\
]\
}\
]
}
}'