Webhook Request & Response
Get Started with Sample Request & Response
Webhook Trigger Methods
JSON Method Query String Method
JSON Method
In this method you will get data as JSON , you need to specify to push the data in JSON method while setting up Webhook URL
POST
https://yourdomain.com/webhook
The “message-in” variable data is URL encoded so you need to decode the same. Online Tools
Receiving Message with Text & Media
Receiving Message with Multiple Contacts
Not Support in Phone Automation
Receiving Message with Location
Not Supported in Phone Automation
Receiving Quoted Reply Messages In WhatsApp Interactive Buttons
Not Supported in Phone Automation
Receiving List Message & Button Clicks
Supported only in WhatsApp Official
Receiving Message With Referral Details
Supported only in WhatsApp Official, you will receive referral details in "referral" array when a user clicks the "WhatsApp"" call to action buttons and sends a messages, this helps you to identify the source of the referral and measure the effectiveness of the engagement ratio
Query String Method (deprecated)
In this method data will be posted as query parameter through URL as shown below, this is the default method
POST
-> https://yourdomain.com/webhook?number=963587413&message-in=test&type=1&application=1&unique-id=5672&project-id=27&media-url="https://upload.wikimedia.org/wikipedia/commons/5/57/PT05_ubt.jpeg&custom-variable=test
The “message-in” variable data is URL encoded so you need to decode the same. Online Tools
Last updated