cf-webhook-auth
header when dispatching a webhook notification. Secrets are not returned in any API response body.{
"name": "Slack Webhook",
"secret": "string",
"url": "https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd"
}
curl --location --request PUT 'https://api.cloudflare.com/client/v4/accounts//alerting/v3/destinations/webhooks/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Slack Webhook",
"secret": "string",
"url": "https://hooks.slack.com/services/Ds3fdBFbV/456464Gdd"
}'
{
"errors": [],
"messages": [],
"result": {
"id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
},
"success": true
}