Change a webhook endpoint
update_webhookChange which events an endpoint receives, rename it, or switch it off and on. This is how an endpoint comes back after we stopped sending to it: fix your server, then set enabled to true. The failure count starts again from zero. Whatever you leave out stays as it was. Needs an API key and a paid plan. Costs no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The endpoint's id, as create_webhook returned it. | |
| events | No | Which events to send here. "collection.completed" fires when a collection ends, even one that found no places; "collection.failed" fires when an error stops it. A collection you cancel sends neither. | |
| enabled | No | False to stop sending here without deleting it. True to start again after we switched it off. | |
| description | No |