create_webhook
Creates a webhook subscription for post, account, and analytics events, returning the signing secret once after explicit confirmation.
Instructions
Create a webhook subscription for post/account/analytics events. WRITE WITH OUTBOUND SIDE EFFECTS: show the user the target URL, workspace, events, and active state, then get explicit confirmation before calling. The response includes the signing secret once.
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": {
"url": "<url>",
"confirm": "<confirm>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS webhook endpoint URL. Localhost HTTP is allowed by the API for development. | |
| events | No | Events to deliver. Defaults to core post lifecycle events. | |
| confirm | Yes | Must be true after the user explicitly confirms webhook creation. | |
| is_active | No | Defaults to true. | |
| description | No | ||
| workspace_id | No | Optional workspace filter. Omit for all workspaces owned by the API key user. |