WhatsApp - Instant Messaging

The Whatsapp template allows sending messages via Whatsapp Messenger. A Twilio account is required to use this template. To use this template, the “API Endpoint” and the “Auth Header Value” need to be provided. Follow the steps given in this link (https://www.twilio.com/docs/sms/whatsapp/quickstart/curl) to set up a Whatsapp sandbox on Twilio which can be used by the Whatsapp template.

 

Once the setup is complete on Twilio, you should have access to the Twilio account SID and the auth token. Fill in the Twilio account SID in the “Api Endpoint” field. For example, if the Twilio account SID is ACz759375464568t439w7854wds256adl2s, the “API Endpoint” will be “https://api.twilio.com/2010-04-01/Accounts/ACz759375464568t439w7854wds256adl2s/Messages.json”. If the auth token is “251d574h61437g831k85319u453qf5ga”, then “ACz759375464568t439w7854wds256adl2s:251d574h61437g831k85319u453qf5ga” needs to be base64 encoded, which gives “QUN6NzU5Mzc1NDY0NTY4dDQzOXc3ODU0d2RzMjU2YWRsMnM6MjUxZDU3NGg2MTQzN2c4MzFrODUzMTl1NDUzcWY1Z2E=”, so the “Auth Header Value” will be

“Basic QUN6NzU5Mzc1NDY0NTY4dDQzOXc3ODU0d2RzMjU2YWRsMnM6MjUxZDU3NGg2MTQzN2c4MzFrODUzMTl1NDUzcWY1Z2E=”

whatsapp.png

Since whatsapp uses phone number as an identifier, it is recommended to set the “Unique Sent Identifier” to “phone_number” under advanced settings.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request