Send an immediate WhatsApp to your contacts
with or without parameters,
The sending can be done synchronously – this is the default mode.
Or asynchronously – in this case you will only get the “queued” response and sending will be done later with a background service.
post /transactional/whatsapp/send
{
“message”: {
“template_id”: “****”,
“to”: [
{
“mobile_number”: “972-51-1111111”
}
],
“view_content_link”: true,
“merge”: true,
“field_vars”: [
{
“rcpt”: “972-51-1111111”,
“fields”: [
{
“name”: “name”,
“content”: “dani”
},
{
“name”: “link”,
“content”: “mylink”
}
]
}
],
“template_fields_mapping”: [
{
“key”: “{{1}}”,
“value”: “name”
},
{
“key”: “{{2}}”,
“value”: “link”
}
],
“site_tracking”: true
},
“async”: false
}