create_webhook
Creates a webhook subscription for post, account, and analytics events, returning the signing secret once after explicit confirmation.
Instructions
Create a webhook subscription for post/account/analytics events. WRITE WITH OUTBOUND SIDE EFFECTS: show the user the target URL, workspace, events, and active state, then get explicit confirmation before calling. The response includes the signing secret once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS webhook endpoint URL. Localhost HTTP is allowed by the API for development. | |
| events | No | Events to deliver. Defaults to core post lifecycle events. | |
| confirm | Yes | Must be true after the user explicitly confirms webhook creation. | |
| is_active | No | Defaults to true. | |
| description | No | ||
| workspace_id | No | Optional workspace filter. Omit for all workspaces owned by the API key user. |