List lead webhooks
list_webhooksList the webhook URLs that captured leads are forwarded to, for one page (pageId) or for a whole website (siteId). Only enabled webhooks receive deliveries. Asking about a page also reports the site-level webhooks it inherits, which is usually the answer to "why are my leads going there".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_webhooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Attach to a single page (id from list_pages). Give this or siteId. | |
| siteId | No | Attach to a whole website, so every page in it forwards leads there (id from list_sites). Give this or pageId. Usually the right choice for a CRM or automation that should cover the whole website. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Webhooks attached at this level. | |
| scope | Yes | Whether this concerns one page or a whole website. | |
| pageId | Yes | Set when scope is page. | |
| siteId | Yes | Set when scope is site. | |
| webhooks | Yes | ||
| maxWebhooks | Yes | Limit per page or per site. | |
| inheritedWebhooks | Yes | Site-level webhooks that also receive this page's leads. Always empty for a site-scoped query. Remove one with siteId, not pageId. | |
| inheritedFromSiteId | Yes | The site a page inherits webhooks from, or null if it has no site or the query was site-scoped. |