Events

Update event webhook settings

Changed on

Updates a webhook's URL, event filters, signing settings, or complete scope selection. Omitted fields stay unchanged; set signing_secret_id to null to remove signing. Selected agents and profiles must belong to the project. Selection and event filters affect newly queued deliveries; notifications selected before an edit may still arrive afterward. URL and signing changes also apply to pending attempts. The same selection and URL cannot duplicate another active subscription.

patch/orgs/{orgID}/projects/{projectID}/event-webhooks/{webhookID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf

Path parameters

orgID, string required
projectID, string required

Project ID (proj_...).

webhookID, string required

Request body

UpdateEventWebhookRequest required
scope, union

Replaces the complete selection. Omit to preserve the current selection.

url, string

Endpoint URL, at most 2048 bytes after URL encoding.

event_types, EventWebhookEventType[]
signing_secret_id, string nullable

Secret ID (sec_...).

Response

Webhook updated.

EventWebhook required
url, string required

Endpoint URL, at most 2048 bytes after URL encoding.

event_types, EventWebhookEventType[] required
signing_secret_id, string

Optional project-available generic secret.

scope, union required
scope_name, string

Current name of the selected agent or profile, derived when read. Omitted for project scope or an unavailable name; use the scope ID as a display fallback.

id, string required
org_id, string required
project_id, string required

Project ID (proj_...).

created_at, string date-time required
updated_at, string date-time required

Changes