Create Webhook Subscription Tool
create-webhook-subscriptionUse this when the user wants to add a webhook, callback URL, n8n/Zapier endpoint, or integration subscription for supported DocuWriter events. State-changing external action: creates the subscription after authorization. Use list-webhook-events first for valid event keys; webhook test dispatch is not exposed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | Event keys from list-webhook-events. | |
| metadata | No | Optional metadata object to store alongside the webhook subscription. | |
| webhook_url | Yes | HTTP/HTTPS webhook endpoint. |