Customizable Webhook Headers
Custom callback headers. Now you will be able to add any custom header and token to increase security
curl --request PATCH \
--url https://gate.whapi.cloud/settings \
--header 'accept: application/json' \
--header 'authorization: Bearer sliU224t0HqeUnjPapv7WHvkqUki3XkO' \
--header 'content-type: application/json' \
--data '
{
"webhooks": [
{
"events": [
{
"type": "messages",
"method": "post"
}
],
"mode": "body",
"headers": {
"customheader": "test"
},
"url": "<Webhook URL, http or https>"
}
]
}
'
Last updated
