Create a webhook
rootr_create_webhookCreate a webhook to subscribe to Rootr events like document changes or comment activity. Optionally restrict to a subtree or tags, with debounce to coalesce bursts.
Instructions
Create a webhook on a Rootr (루터) workspace. Valid events: document.created, document.updated, document.moved, document.deleted, comment.created, extraction.completed, extraction.failed, log.anomaly.rca, scaffold.applied. Optionally scope it to a subtree (scopeNodeId, inherited by descendants) and/or a tag filter (filterTags). debounceSeconds coalesces bursts of events (server enforces a fixed trailing debounce with a cap). IMPORTANT: the response secret is shown ONLY ONCE, in this call's result — copy it now, it will not be shown again. LOOP GUARD: deliveries carry the actor as data.actorId ("apikey:" for API writes) — a consumer MUST skip deliveries caused by its own key before reacting, or an agent that writes on notification will trigger itself forever.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS endpoint to receive webhook POSTs | |
| name | No | Human-readable name for the webhook | |
| events | Yes | Event names to subscribe to, from: document.created, document.updated, document.moved, document.deleted, comment.created, extraction.completed, extraction.failed, log.anomaly.rca, scaffold.applied | |
| workspace | No | Workspace id; defaults to ROOTR_WORKSPACE/config if omitted | |
| filterTags | No | Only fire for nodes carrying one of these tags | |
| scopeNodeId | No | Restrict to this node and its descendants | |
| debounceSeconds | No | Trailing debounce window in seconds (server-capped) |