Dome Systems

dome webhooks

Manage webhook subscriptions, delivery history, and the provider catalog

dome webhooks subscribes your HTTPS endpoints to Dome events, delivered as signed webhooks from the active workspace. Each subscription carries its endpoint and event selection, and deliveries are inspected, replayed, or cancelled separately. Refer to Webhooks for the delivery contract.

Command
List subscriptionsdome webhooks subscriptions list
Get subscriptiondome webhooks subscriptions get <name-or-id>
Create subscriptiondome webhooks subscriptions create <name> …
Update subscriptiondome webhooks subscriptions update <name-or-id>
Disable subscriptiondome webhooks subscriptions disable <name-or-id>
Rotate signing secretdome webhooks subscriptions rotate-secret <name-or-id>
Send test eventdome webhooks subscriptions test <name-or-id>
Delete subscriptiondome webhooks subscriptions delete <name-or-id>
List deliveriesdome webhooks deliveries list
Get deliverydome webhooks deliveries get <delivery-id>
Replay deliverydome webhooks deliveries replay <delivery-id>
Replay failed deliveriesdome webhooks deliveries replay-failed --since <when>
Cancel deliverydome webhooks deliveries cancel <delivery-id>
List providersdome webhooks providers list
Get providerdome webhooks providers get <key>

dome webhooks also answers to dome events. Group aliases: subscriptions = sub, deliveries = del, every list = ls, delete = rm.

All commands scope to the active workspace (from dome context).

Permissions

PermissionCommands
eventing.viewAll list and get commands
eventing.manageSubscription create, update, disable, rotate-secret, test, delete; delivery cancel
eventing.replaydeliveries replay, deliveries replay-failed

Workspace admin and operator roles hold all three. security, developer, and viewer hold eventing.view.

Subscriptions

List subscriptions

dome webhooks subscriptions list

List every subscription in the active workspace with its delivery endpoint, event types, and active state.

Get subscription

dome webhooks subscriptions get <name-or-id>

Show a subscription's delivery endpoint, provider, event types, filters, and active state. Name matching is case-insensitive.

Create subscription

dome webhooks subscriptions create <name> (--url <url> | --provider <key>) --event-type <type>

Create a subscription and its delivery destination atomically. A failed request leaves neither record behind.

Subscription "alerts" created (id: …)
Signing secret (shown once, key key_…): whsec_…

The signing secret prints once — capture it before the terminal closes. It is only recoverable via rotate-secret. Providers that authenticate with a credential in the body (PagerDuty) send unsigned deliveries and return no secret.

FlagTypeDescription
--urlstringCustom HTTPS endpoint URL. Exactly one of --url or --provider.
--providerstringProvider key from providers list.
--settingstring[]Provider setting key=value (repeatable). Non-secret.
--credentialstring[]Provider credential key=value (repeatable). Stored write-only.
--event-typestring[]Event type to subscribe to (repeatable, required).
--filterstring[]Filter predicate (repeatable). Refer to filter grammar.
--content-formatstringCustom URL only: object (default) or array (one-element JSON array).
--header-literalstring[]Custom header Name=Value (repeatable). Custom URL only.
--header-secretstring[]Custom header Name=Value stored write-only, masked on read (repeatable). Custom URL only.

Filter grammar

FormMeaning
key=valueExact match. Repeat the same key for an OR set.
key~=globGlob pattern. * any run, ? one char, \ escapes. Matches the full value, case-sensitive.
tool=conn/toolSugar. Splits at the first / into connection_name + tool_name filters; each side globs when it contains * or ?.

Filter keys: agent_name, connection_name (resolved from IDs at delivery time), agent_id, tool_name, plus each event type's own filterable payload fields — browse them with dome audit catalog or the dashboard Event catalog tab. An event delivers only if it satisfies every filter that applies to its type.

Update subscription

dome webhooks subscriptions update <name-or-id>

Update a subscription or its delivery destination. Unpassed flags leave the field untouched.

FlagTypeDescription
--namestringNew display name.
--event-typestring[]Replace the full event-type set (repeatable).
--filterstring[]Replace the full filter set (repeatable). Excludes --clear-filters.
--clear-filtersboolRemove every filter.
--activebool--active=false pauses fanout; --active resumes it. No backfill on resume.
--urlstringReplace the destination URL.
--endpoint-activeboolEnable or disable the destination itself.
--content-formatstringobject or array. Custom URL only.
--header-literalstring[]Upsert a literal header Name=Value.
--header-secretstring[]Name=Value rotates the secret; bare Name keeps the stored value.
--remove-headerstring[]Remove a header by name.
--clear-headersboolRemove all custom headers.
--settingstring[]Replace the full provider settings set key=value.
--credentialstring[]Merge a write-only provider credential key=value.

Disable subscription

dome webhooks subscriptions disable <name-or-id>

Stop new fanout. Delivery history and pending retries remain queryable.

Rotate signing secret

dome webhooks subscriptions rotate-secret <name-or-id>

Rotate the destination's HMAC signing secret. Prints the new secret once:

New signing secret (shown once, key key_…): whsec_…

During the grace window the webhook-signature header carries a signature per active key, so a consumer verifying with either secret keeps working.

Send test event

dome webhooks subscriptions test <name-or-id>

Send a fixed eventing.test event through the subscription's destination. Verifies signing, headers, and the destination's own routing end-to-end. Prints the queued delivery ID — inspect it with deliveries get.

Delete subscription

dome webhooks subscriptions delete <name-or-id>

Delete the subscription and cancel every pending delivery. Delivery history stays queryable.

Deliveries

List deliveries

dome webhooks deliveries list

Inspect deliveries by status, event type, subscription, or time window. Prints last attempt, status, event type, delivery ID, attempt count, and last error per row.

FlagTypeDescription
--subscription-idstringNarrow to one subscription ID.
--destination-idstringNarrow to one destination ID.
--event-typestringNarrow to one event type.
--statusstringOne of created, enqueued, delivering, retry_scheduled, succeeded, failed, canceled, expired, dlq.
--event-idstringEvery delivery for one source event.
--startstringRFC3339 start time.
--endstringRFC3339 end time.
--limitintPage size.
--page-tokenstringCursor from a previous listing.

Get delivery

dome webhooks deliveries get <delivery-id>

Show a delivery with its status, timing, last HTTP status, and per-attempt history.

FlagTypeDescription
--bodyboolInclude the delivered webhook body while retained — up to 30 days, or 24 hours after a successful delivery.

Replay delivery

dome webhooks deliveries replay <delivery-id>

Replay one delivery. Creates a new delivery from the retained body — fresh webhook-id, same Dome-Event-Id — and sends another request to the destination. Consumers that dedupe on Dome-Event-Id ignore the overlap.

Replay failed deliveries

dome webhooks deliveries replay-failed --since <dur|RFC3339>

Bulk-replay terminally-failed deliveries in a time window — the outage-recovery counterpart to replay. Safe to re-run: a delivery with a live or succeeded replay is not matched again, and canceled deliveries are never recovered.

FlagTypeDescription
--sincestringDuration back from now (24h, 7d) or RFC3339 timestamp. Required, within the last 30 days.
--untilstringRFC3339 upper bound. Defaults to now.
--subscriptionstringNarrow to one subscription name or ID.
--statusstring[]Statuses to recover — subset of failed, expired, dlq. Default all three.
--maxintDeliveries per run, up to 500. Repeat the command to continue.

Prints matched · replayed · skipped (body expired) · failed.

Cancel delivery

dome webhooks deliveries cancel <delivery-id>

Cancel a delivery's pending retries. No further request is sent to the destination.

Providers

List providers

dome webhooks providers list

List every off-the-shelf provider with its setting and credential fields, recommended event bundle, and authentication style — Standard Webhooks signature or credential-in-body.

Get provider

dome webhooks providers get <key>

Show a provider's setup instructions, documentation link, and --setting / --credential fields. Run before subscriptions create --provider.

On this page

Was this page helpful?