create_webhook
Create a webhook subscription on an org. Owner/admin only. Returns the signing secret plaintext EXACTLY ONCE (only secret_last4 is readable afterwards). events maps to the subscription's event_types; empty means all events. When notion_handshake is true the subscription is created inactive and only activates after the receiver echoes the challenge token. Mirrors POST /v1/webhooks.
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": {
"org_id": "<org_id>",
"url": "<url>",
"events": "<events>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | Yes | ||
| org_id | Yes | ||
| board_id | No | ||
| notion_handshake | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||