Change a webhook
Permission
webhooks:manageRate limit writesIdempotent with Idempotency-KeySend any of url (vetted again), events (replaces the list), secret, description, status. status: active turns a webhook that the receiver (410) or repeated failures turned off back on, with its failure count cleared; disabled stops deliveries without deleting it. Sending the status it already has changes nothing. Every event the webhook carries, old and new, needs its read scopes on the key, whatever the PATCH changes (403 forbidden_scope otherwise).
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredBody
application/jsonurlstringuri≤ 500 charseventsarray of string≤ 28 itemssecretstring≥ 32 chars≤ 200 charsdescriptionstringnullable≤ 200 charsstatusstringOne of active, disabled
Headers
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
RequestcURL
curl --request PATCH \ --url 'https://api.estage.com/v1/webhooks/webhook-id' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "status": "active", "events": ["contact.created", "order.paid", "order.refunded"] }'
OK
{
"data": {
"id": 7,
"url": "https://hooks.example.com/estage",
"events": [
"contact.created",
"order.paid",
"order.refunded"
],
"status": "active",
"description": "CRM sync",
"disabled_reason": null,
"failures": 0,
"last_success_at": "2026-11-12T09:58:41Z",
"last_failure_at": "2026-11-13T07:10:02Z",
"last_error": null,
"created_at": "2026-11-01T12:00:00Z",
"updated_at": "2026-11-13T11:20:00Z"
}
}Example. Errors are
{ error: { code, message, details } }.