create_webhook
Subscribe a public HTTPS URL to Paperboy CMS site events as admin; sends signed HMAC-SHA256 JSON POSTs for rebuilds and automations.
Instructions
Subscribe a URL to this site's events (Admin only): Paperboy POSTs a JSON payload signed with HMAC-SHA256 on each event, e.g. to trigger a static-site rebuild. Private-network URLs are refused. The signing secret is returned ONCE; store it to verify deliveries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https:// endpoint to POST to. | |
| name | Yes | Label, e.g. 'Netlify rebuild'. | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. | |
| events | No | Events to send: content.published, content.unpublished, form.submitted. Omit or [] for all. |