Update webhook endpoint
PATCH
https://app.speybooks.com/api/v1/webhooks/{id}Update an existing webhook endpoint. Any combination of url, description, events, and isActive can be updated. The signing secret is not changed and is not included in the response; the response carries secretHint. Use the rotate endpoint to change the secret.
Set isActive: false to temporarily pause deliveries without
deleting the endpoint configuration.
Path parameters
idintegerrequiredWebhook endpoint ID.
Body parameters
descriptionstringoptionalUpdated description.
eventsarray<string>optionalUpdated event subscriptions.
isActivebooleanoptionalEnable or disable the endpoint.
urlstringoptionalUpdated HTTPS delivery URL. Plain HTTP is rejected.
Response
200Webhook endpoint updated. Returns the full endpoint object.
Show response fields
eventsarray<string>idintegerisActivebooleanurlstringError codes
400Validation error: invalid URL or event types.
404Webhook endpoint not found.