Guide: Twilio WhatsApp Message API WebHook with Appsheet Bot

Here is the guide on setup your webhook with Twilio REST API

URL: https://api.twilio.com/2010-04-01/Accounts/#yourAccountSid#/Messages.json

Body: To=whatsapp:%2B60xxxxxxx&From=whatsapp:%2B14xxxxxxxBody=TestTest
Header: Authorization: “Basic QUM3OTVjxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”

Example: Authorization: "Basic " + Base64Encoded(TwilioAccountSID + “:” + TwilioAuthToken)
URL Encode and Decode - Online (urlencoder.org)

3 Likes

Feel free to share if anyone found other better method of doing this.

2 Likes