Introduction
Last updated
Last updated
In order to send messages after 24 hours window you need to make use of WhatsApp pre approved templates, if you have not yet requested templates then please make use of Template Request API to request a template.
Using Templated Messages you can only send Text, Video, Image & PDF messages and you need to submit only dynamic variable values in order to send messages using this template method.
Example
Your order {{1}}
for a total of {{2}
} is confirmed. The expected delivery is {{3}}
In order to send the above message you need to pass only the exact value of {{1}}, {{2}}. {{3}} in the "template_globalmessage" or "template_message" variable as array and WhatsApp will construct the message with the value you passed and sends the message. i.e you dont need to pass the entire message body or structure in order to send a template message.