Set the webhook link to the channel
Using the interface

Set hooks via API
How do I check if callbacks are being sent from a channel?
Last updated

Last updated
curl --request PATCH \
--url https://gate.whapi.cloud/settings \
--header 'accept: application/json' \
--header 'authorization: Bearer TOKEN' \
--header 'content-type: application/json' \
--data '
{
"webhooks": [
{
"mode": "body",
"events": [
{
"type": "messages",
"method": "post"
}
],
"url": "https://webhook.site/11ab0eeb-dc98-4ccd-a2d3-be2b182b9de0"
}
],
"offline_mode": false,
"full_history": false
}
'