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
For phone automation sending media file takes longer time and make use of Auto Click method, so please make use of the media sending feature only if needed
The response must be in JSON format else reply will not sent to the user and no need to url encode the message-out variable.
Query String Method (deprecated)
In this method data will be posted as query parameter through URL as shown below, this is the default method
Query String method is deprecated on 30 March 2020 and no new updates will be pushed to this 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
JSON Sample Response for Text Messages
If you wish to give instant reply back then give response in JSON format