Webhooks

Update webhook

Update a webhook's URL, subscribed events, active status, or encrypted auth headers. Send only the fields you want to change. A mailbox-confined token reaches only the webhooks confined to its own mailboxes (404 otherwise).

patch/api/webhooks/{id}

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/webhooks/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Webhook ID

Request body

urlstring uri

New HTTPS URL

eventsstring[]

New list of event types

activeboolean

Set false to pause, true to resume

headersobject

Replace encrypted auth headers; send {} to clear. Only Authorization and X-API-Key are accepted.

Response

Webhook updated

idstring
urlstring uri
eventsstring[]
activeboolean
header_namesstring[]

Configured auth header names; values are never returned

hintstring

Changes

No recorded changes to this operation across all 2 revisions of this API.