Create Webhook
create-webhookCreate a webhook: Emailit will send email, domain, contact, and campaign events to this URL. The response includes the signing secret.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"url": "<url>"
},
"name": "create-webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS endpoint that receives event POSTs. | |
| name | Yes | ||
| events | No | Event types to subscribe to. With all_events, list only what it leaves out: w:/c: types (or w:* / c:*) and opt-in site-tracking events. | |
| filter | No | Only deliver events matching these rules. Null clears the filter. | |
| enabled | No | ||
| all_events | No | Subscribe to every system event type except the opt-in site-tracking events (product.viewed, cart.updated). Workspace (w:) and custom (c:) events are not included either; list them in events. |