---
title: "update_webhook — AI Ability"
description: "Update a webhook — Update an existing webhook (endpoint, method, triggers, headers, credential)."
url: "https://wpwebhooks.org/docs/ability-update-webhook/"
---

[WP Webhooks](/) / [Docs](/docs/) / update\_webhook

AI Ability since v2.0.0

# update\_webhook

Update a webhook — Update an existing webhook (endpoint, method, triggers, headers, credential).

Update an existing webhook (endpoint, method, triggers, headers, credential). Registered as the WordPress Ability `flowsystems-webhook-actions/update_webhook`, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.

/ Plan step shape

```
{ "ability": "update_webhook", "input": { "id": …, "name": …, "endpoint_url": …, "http_method": …, "triggers": …, "auth_credential_id": …, "custom_headers": …, "url_params": … } }
```

/ Scope & confirmation

Minimum API-token scope for external (MCP/REST) callers: `full`. Runs without a confirmation pause (the overall plan is still user-approved before execution starts).

/ Input fields

| Name | In | Type | Req | Description |
| --- | --- | --- | --- | --- |
| id | param | integer | yes |  |
| name | param | string | — |  |
| endpoint\_url | param | string | — |  |
| http\_method | param | string | — | GET | POST | PUT | PATCH | DELETE |
| triggers | param | array | — |  |
| auth\_credential\_id | param | integer | — |  |
| custom\_headers | param | object | — |  |
| url\_params | param | object | — |  |

/ Examples

Plan step as the AI Builder proposes it

```
{
  "id": "step_1",
  "ability": "update_webhook",
  "summary": "…",
  "input": {
    "id": 12,
    "endpoint_url": "https://n8n.example.com/webhook/new-path"
  }
}
```

/ Related

[get\_webhook](/docs/ability-get-webhook/)[create\_webhook](/docs/ability-create-webhook/)[REST API reference](/webhook-wordpress-plugin-api/)

/Ready

## Your next automation is  
one sentence away.

[Install Plugin→](https://wordpress.org/plugins/flowsystems-webhook-actions/) [See the Plugin →](/wordpress-webhook-plugin/)

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

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"update_webhook — AI Ability — Webhook Actions Docs","description":"Update a webhook — Update an existing webhook (endpoint, method, triggers, headers, credential).","url":"https://wpwebhooks.org/docs/ability-update-webhook/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
