create_webhook
Subscribe a URL to receive HTTP POST notifications when specified events occur.
Instructions
Subscribe a URL to ViralNote event notifications. ViralNote sends an HTTP POST with a JSON payload to the URL each time a subscribed event fires — for example post.published when a post goes live, or post.failed when delivery errors. Returns the created subscription including its id. The URL must be an HTTPS endpoint you control and that is publicly reachable. Check list_webhooks first to avoid duplicating an existing subscription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Publicly reachable HTTPS endpoint that will receive event POSTs. | |
| events | Yes | Event names to subscribe to, e.g. 'post.published', 'post.failed'. |