Create a webhook
create_webhookCreate a webhook subscription by providing a name, URL, and event types to receive event deliveries. Returns a signing secret to verify payloads.
Instructions
Create a webhook subscription. name and url (the HTTPS endpoint that will receive events) are required, along with events selecting which event types to deliver. The API returns a signing secret once on creation — store it to verify incoming payloads.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"url": "<url>",
"events": "<events>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The HTTPS endpoint that will receive event deliveries. | |
| name | Yes | A label for this webhook. | |
| events | Yes | The event subscription object selecting which event types this webhook receives. Call list_webhook_event_types for the available types and each payload shape. |