Home / Servers / Cloudflare API / create_webhook

Create a new webhook configuration

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Create a new webhook configuration Creates a new webhook configuration for sending finding notifications to external endpoints. [POST /accounts/{account_id}/data-security/posture/webhooks]

Name on the gateway: cloudflare_api__create_webhook · may change things.

Parameters

NameTypeDescription
account_id requiredstringaccount_id parameter
authentication_type requiredBasic Auth | None | Bearer Auth | Static Headers | HMAC-SigningType of authentication used for the webhook.
destination_url requiredstringTarget URL for the webhook configuration. Where…
headersarrayList of custom headers to include in webhook…
label requiredstringAccount-specified display label for the webhook…
signing_secretstringSecret key used for HMAC signing when…
statusenabled | disabledStatus of the webhook configuration. Defaults to…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__create_webhook",
  "arguments": {
    "account_id": "…",
    "authentication_type": "…",
    "destination_url": "…",
    "label": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a new webhook configuration tool with account_id set to ….

More from Cloudflare API