Update webhook endpoint
PATCH
https://app.speybooks.com/api/v1/webhook-endpoints/{id}Update an existing webhook endpoint. Any combination of url, description, events, and isActive can be updated. The signing secret is not changed — use the rotate endpoint for that.
Set isActive: false to temporarily pause deliveries without deleting the endpoint configuration.
Path parameters
id integer requiredWebhook endpoint ID.
Body parameters
description string optionalUpdated description.
events array<string> optionalUpdated event subscriptions.
isActive boolean optionalEnable or disable the endpoint.
url string optionalUpdated HTTPS delivery URL.
Response
200 Webhook endpoint updated. Returns the full endpoint object.
Show response fields
events array<string>id integerisActive booleanurl stringError codes
400 Validation error: invalid URL or event types.
404 Webhook endpoint not found.