Webhook Write Tool
webhook-writeCreate, enable, disable or delete outbound webhooks. create requires a destination URL and event slugs and creates one webhook per event. Active webhooks send workspace data to that URL. Other actions require webhook_id. See the Wayfront webhook API documentation: https://wayfront.com/help/knowledgebase/webhooks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Destination URL (http/https) that will receive the event POSTs. Required for "create". | |
| note | No | Optional label/description for the webhook. For "create". | |
| action | Yes | Action to perform. | |
| events | No | One or more namespaced event slugs to subscribe, e.g. ["order.created", "invoice.paid"]. Required for "create". One webhook row is created per event. | |
| is_active | No | Whether the webhook is active on creation. Defaults to true. For "create". | |
| webhook_id | No | Webhook ID. Required for "enable", "disable", and "delete". Use "list" to discover IDs. |