---
title: "get_webhook — AI Ability"
description: "Get a webhook — Get a single webhook by id, including triggers, mapping, conditions, headers and credential assignment."
url: "https://wpwebhooks.org/docs/ability-get-webhook/"
---

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

AI Ability since v2.0.0

# get\_webhook

Get a webhook — Get a single webhook by id, including triggers, mapping, conditions, headers and credential assignment.

Get a single webhook by id, including triggers, mapping, conditions, headers and credential assignment. Registered as the WordPress Ability `flowsystems-webhook-actions/get-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": "get_webhook", "input": { "id": … } }
```

/ Scope & confirmation

Minimum API-token scope for external (MCP/REST) callers: `read`. Read-only — the agent runs it freely while planning and verifying.

/ Input fields

| Name | In | Type | Req | Description |
| --- | --- | --- | --- | --- |
| id | param | integer | yes | Webhook id |

/ Examples

Plan step as Build with AI proposes it

```
{
  "id": "step_1",
  "ability": "get_webhook",
  "summary": "…",
  "input": {
    "id": 12
  }
}
```

/ Related

[list\_webhooks](https://wpwebhooks.org/docs/ability-list-webhooks/)[update\_webhook](https://wpwebhooks.org/docs/ability-update-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":"get_webhook — AI Ability — Webhook Actions Docs","description":"Get a webhook — Get a single webhook by id, including triggers, mapping, conditions, headers and credential assignment.","url":"https://wpwebhooks.org/docs/ability-get-webhook/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
