ESTAGE Support
IdeasMy tickets

Change a webhook

Permission webhooks:manageRate limit writesIdempotent with Idempotency-Key

Send 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).

PATCHhttps://api.estage.com/v1/webhooks/{id}

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired

Body

application/json
urlstringuri≤ 500 chars
eventsarray of string≤ 28 items
secretstring≥ 32 chars≤ 200 chars
descriptionstringnullable≤ 200 chars
statusstring

One of active, disabled

Headers

Idempotency-Keystring≤ 255 chars

Any 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 } }.