Update a webhookMenu

Update a webhook

PATCH/v1/webhooks/{id}

Requires an API key with the webhooks:write scope. About keys and scopes

Works with integration and partner keys, not agent keys.

Safe to retry: a repeat sets the same values again. About idempotency

Changes the URL or events of a webhook, or sets status to paused or active. A paused or platform-disabled webhook receives no new events; its pending deliveries wait and resume when it is active again.

Path parameters

idstringrequired

The webhook's id.

uuid

Header parameters

Kirora-Workspacestringoptional

Partner keys only: the child workspace to act in, by the external id the partner gave it. Without it, a partner key acts in its own workspace. Any other key that sends it is refused with 403, and an unknown workspace is 404.

pattern ^[A-Za-z0-9._:-]{1,128}$

Request body

urlstringoptional

The HTTPS endpoint that receives deliveries; it must resolve to a public host.

uri · up to 2,000 characters

eventsstring[]optional

Event types to receive, or ["*"] alone for every event, including future ones.

at least 1 item · at most 14 items

statusstringoptional

paused stops deliveries. active resumes them, and also re-enables a webhook the platform disabled.

one of active, paused

Returns

Returns 200 OK with a Webhook in data. It can also return 409 Conflict, 413 Payload Too Large or 415 Unsupported Media Type; see the statuses below. Otherwise returns an error; Errors lists every code and which to retry.

  • 200 OKThe updated subscription.
  • 409 ConflictThe request conflicts with current state — a duplicate unique value, or a resource whose status does not allow this operation.
  • 413 Payload Too LargeThe body is larger than this operation accepts (PAYLOAD_TOO_LARGE).
  • 415 Unsupported Media TypeThe body is not JSON, or not the upload the operation takes (UNSUPPORTED_MEDIA_TYPE).
idstringrequired

uuid

urlstringrequired

uri

eventsstring[]required

The event types it receives.

sourcestring | nullrequired

The integration that created it; null when created directly.

one of zapier, n8n

statusstringrequired

disabled is set only by the platform; active re-enables it.

one of active, paused, disabled

previousSecretExpiresAtstring | nullrequired

Until when the replaced secret still signs requests after a rotation.

date-time

createdAtstringrequired

date-time