Create Webhook
create_webhookRegister a new webhook to deliver LightCMS events to a URL and get a one-time HMAC-SHA256 secret for verification.
Instructions
Create a new webhook. Returns the generated HMAC-SHA256 secret ONCE — save it immediately.
Valid event types: content.create, content.update, content.publish, content.unpublish, content.delete, comment.created, content.pending_approval, asset.pending_review
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Endpoint URL to deliver events to,required | |
| name | Yes | Name for the webhook,required | |
| active | No | Whether the webhook is active (default true) | |
| events | Yes | Event types to subscribe to (e.g. content.publish),required |