To send a message to the webhook, a reply from webhook will be sent to in the same json format as the request.
image, audio, video, or document
url (the value is always url)
Logitude GPS coordinates
Latitude GPS coordinates
To receive a webhook message you need to configure the webhook url on each devices configuration.
1. Go to Home > Choose Device > Setting.
2. Click button Update at webhook row.
3. Fill out the webhook form with your webhook url and click Set Webhook
All incoming messages will be sent to the webhook, in the following format
Whapi will send a user profile if the profile hasn't been sent in the past 1 day, in the following format