| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/laragon4/www/wa-gateway/resources/views/pages/api-docs/ |
Upload File : |
<div class="tab-pane fade " id="examplewebhook" role="tabpanel">
<h3>Webhook Example</h3>
<p>Webhook is a feature that allows you to receive a callback from our server when a message is incoming to your
device.
You can use this feature for made a dinamic chatbot or whatever you want. </p>
<p>We will send a POST request to your webhook url with a JSON body. Here is an example of the JSON body we will
send:</p>
<pre class="bg-dark text-white">
<code class="json">
{
"device" : "your sender/device"
"message" : "message",
"from" : "the number of the whatsapp sender",
"name" : "the name of the sender",
"participant" : "sender number if group"
"bufferImage" : "base64 image, null if message not contain image",
}
</code>
</pre>
<br>
<p>For example webhook you can see in <a href="https://github.com/Ilmans/webhook-wamp-example.git" target="_blank">
<span class="badge bg-primary">Here</span></a></p>
</div>