Change a webhook
update_webhookRename a webhook, point it at a new address, change its events (form.submitted (every form submission on your site, with the contact it belongs to), contact.created (a form submission with an email address added or matched a contact), contact.revisited (a known contact came back to your site (once per visit)), payment.completed (a customer paid for an order), booking.created (a new appointment was booked (waiting for you, or already confirmed)), booking.confirmed (an appointment was confirmed), booking.rescheduled (an appointment moved to a new time), booking.cancelled (an appointment was cancelled or declined), booking.completed (an appointment was marked as done), order.placed (an order was paid online or placed with cash on delivery, with its items and totals), site.published (your site went live with your latest changes), collection.item_published (a blog post, product, listing or other collection item went live for the first time), review.received (a new Google review arrived, with its rating and text), site.alert (every site alert as it happens: new leads from forms, chat, WhatsApp, SMS and voicemail, bookings, payments and publishing (not included in "all events")), or * for all), or switch it off or back on (is_active). Only the fields you pass change. A new address must be public http(s). Its signing secret and headers are changed in the site's Webhooks settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The new address, exactly as the owner gave it | |
| name | No | ||
| events | No | The complete new event list (replaces the old one) | |
| site_id | Yes | The site, from list_sites | |
| is_active | No | false stops sending without deleting it | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| webhook_id | Yes | The webhook, from list_webhooks |