Events

Create an event webhook

Changed on

Subscribes to future events from agents matching the scope. Projects can have up to 100 active subscriptions across all selections. Each selection can have only one active webhook per URL; duplicates return 409. Matching scopes are additive. Requires project management permission.

post/orgs/{orgID}/projects/{projectID}/event-webhooks

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

Request body

CreateEventWebhookRequest 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

Response

Webhook created.

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