---
title: "enable_webhook — AI Ability"
description: "Enable / disable a webhook — Enable (go live) or disable a webhook."
url: "https://wpwebhooks.org/docs/ability-enable-webhook/"
---

[WP Webhooks](https://wpwebhooks.org/) / [Docs](https://wpwebhooks.org/docs/) / enable\_webhook

AI Ability since v2.0.0

# enable\_webhook

Enable / disable a webhook — Enable (go live) or disable a webhook.

Enable (go live) or disable a webhook. Requires confirmation (the policy is `always`, so disabling pauses too). Registered as the WordPress Ability `flowsystems-webhook-actions/enable-webhook`, so external AI tools (Claude Code, Cursor) can call it over MCP, or over the Abilities REST route with a scoped API token.

/ Plan step shape

```
{ "ability": "enable_webhook", "input": { "id": …, "enabled": … } }
```

/ Scope & confirmation

Minimum API-token scope for external (MCP/REST) callers: `full`. This step always pauses for explicit user confirmation before it runs. External MCP/REST callers get a 428 and must re-send the same call with `"confirmed": true`.

/ Input fields

| Name | In | Type | Req | Description |
| --- | --- | --- | --- | --- |
| id | param | integer | yes |  |
| enabled | param | boolean | — | Default true. |

/ Examples

Plan step as Build with AI proposes it

```
{
  "id": "step_1",
  "ability": "enable_webhook",
  "summary": "…",
  "input": {
    "id": 12,
    "enabled": true
  }
}
```

/ Related

[create\_webhook](https://wpwebhooks.org/docs/ability-create-webhook/)[delete\_webhook](https://wpwebhooks.org/docs/ability-delete-webhook/)[REST API reference](https://wpwebhooks.org/webhook-wordpress-plugin-api/)

/Ready

## Your next automation is  
one sentence away.

[Try the Live Preview](https://playground.wordpress.net/?blueprint-url=https://wpwebhooks.org/blueprint.json) [See the Plugin →](https://wpwebhooks.org/wordpress-webhook-plugin/)

$ wp plugin install flowsystems-webhook-actions --activate

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"enable_webhook — AI Ability — Webhook Actions Docs","description":"Enable / disable a webhook — Enable (go live) or disable a webhook.","url":"https://wpwebhooks.org/docs/ability-enable-webhook/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
