Set a webhook
set_webhookSend this site's form entries, paid orders and bookings to a URL as JSON POSTs, e.g. a Zapier or Make "catch hook", a Google Apps Script web app (to fill a Google Sheet) or the owner's own system. https only; up to 5 per site. Adding a URL returns its signing secret once: give it to the owner. The same URL again changes its events (rotate_secret: true makes a new secret); remove: true deletes it. Test entries from draft previews are never sent. Failed sends are retried for about a day.
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": {
"site": "<site>",
"url": "<url>"
},
"name": "set_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https:// address that receives the POSTs (or, with remove, the webhook id) | |
| site | Yes | Site slug (e.g. "kopitiam-muar") or id | |
| events | No | Default: all of record.created, order.paid, booking.created, booking.updated | |
| remove | No | ||
| rotate_secret | No |