Register, edit, test or delete a webhook
webhooks_saveAn https URL that gets a signed POST (Standard Webhooks: verify webhook-signature with the returned secret, dedupe on webhook-id) when a post is published or fails, and when each comment-chain item or plug settles: create one (no id; url, events default all), edit it (id; url, events, description, disabled, rotateSecret), send a signed webhook.test now (id, test: true), or delete it (id, delete: true). A non-2xx is retried for about three days; GET /api/webhooks/{id} is the delivery log. Needs the write scope.
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": "webhooks_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The webhook id; omit to create. | |
| url | No | https, on a public address. | |
| test | No | Send one signed webhook.test now and answer what the URL said. | |
| delete | No | Delete the endpoint. | |
| events | No | Default: all. | |
| disabled | No | Pause deliveries. | |
| description | No | What it is for. | |
| rotateSecret | No | Replace the secret; the old one stops verifying at once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | ||
| deleted | No | ||
| webhook | No |