post
https://www.fast2sms.com/dev/whatsapp///messages
Send a template message that contains a media header (Image, Video, or Document) and optional body variables.
Example Request Body
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919999595313",
"type": "template",
"template": {
"name": "test_tempalte",
"language": {
"code": "en"
},
"components": [
{
"type": "header",
"parameters": [
{
"type": "image",
"image": {
"link": "[https://hello-assets-prod.s3.amazonaws.com/...jpg](https://hello-assets-prod.s3.amazonaws.com/...jpg)"
}
}
]
},
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "Harsh"
}
]
}
]
}
}