cURL
Webhooks
Update Webhook
Update a Novacal webhook to change its target URL, adjust which events it subscribes to, or pause deliveries without deleting it.
PUT
cURL
What this endpoint is for
Change an existing webhook without re-registering it. Send only the fields you want to change.What you can change
url— move deliveries to a different endpointevents— replace the list of subscribed eventsis_active— set tofalseto pause deliveries, and back totrueto resume
Pausing instead of deleting
Setis_active to false while you deploy or debug your receiver. Novacal stops sending deliveries but keeps the webhook and its secret intact.
Access
You can only update webhooks registered on your own account. Updating another account’s webhook returns403 access_denied.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the webhook to update
Body
application/json
Webhook fields to update
A new target URL for deliveries
Example:
"https://example.com/hooks/novacal-v2"
Replaces the subscribed events
Minimum array length:
1Available options:
event.created, event.rescheduled, event.canceled Example:
Set to false to pause deliveries without deleting the webhook
Example:
false