---
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](/) / [Docs](/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 REST 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 the AI Builder proposes it

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

/ Related

[list\_webhooks](/docs/ability-list-webhooks/)[update\_webhook](/docs/ability-update-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":"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"}}
```
