Skip to main content
create_webhook Subscribe an HTTPS receiver to link, destination or citation events. Periodic digests support link events only. Returns the signing secret once. Delivery is signed, at-least-once, and starts at the current sequence; deduplicate by AgentLinkOps-Delivery-Id (also sent as Linktrail-Delivery-Id during the compatibility window) and recover gaps through the event feed. A 410 receiver response disables delivery.
Available in the deployed MCP and HTTP bundle. Confirm access and inputs with your connected catalog. Workspace scopes and enabled providers still apply.
This operation changes saved state. Review its inputs and retry behavior before calling.

Example request

Connect through MCP, CLI, or HTTP. Replace example identifiers with records from your workspace.

Returned result

Illustrative data validated against the documented response schema. IDs and dates are examples, not a live account capture. MCP returns this data in structuredContent and in a text content block; generic HTTP and CLI return the JSON result directly.

Input fields

Omit optional fields when you do not want to supply them. Null is accepted only where listed. Unknown input properties are rejected.

Validation and omitted values

Omitting eventTypes subscribes to all supported types. Omitted projectId creates a workspace-level endpoint; it does not select a project automatically. digestFrequency is required when deliveryMode is digest; it has no default cadence. The signing secret is returned once. New subscriptions begin at current feed sequences. Creating an endpoint does not replay earlier events or prove delivery is configured. Event type filters must contain one to sixty-four lowercase letters, _ or . per value.

Defaults when omitted

Output fields

Fields inside optional or nullable parents apply only when that parent exists. Common schema conventions explain evidence states, empty lists and extensions.
  • id (string, required): Resource identifier returned by the operation.
  • workspace_id (string, required): Workspace that owns this record.
  • project_id (string / null, required): Project that owns this record.
  • url (string, required).
  • description (string, required).
  • state (string, required): Saved lifecycle or evidence state, as enumerated for this record.
  • active_secret_count (number, required).
  • event_types (array / null, required).
  • feeds (array, required).
  • delivery_mode (string, required).
  • digest_frequency (string / null, required).
  • digest_hour_utc (number / null, required).
  • digest_last_sent_at (string / null, required).
  • consecutive_failures (number, required).
  • disabled_at (string / null, required).
  • disabled_reason (string / null, required).
  • created_at (string, required): UTC timestamp when the record was created.
  • updated_at (string, required): UTC timestamp of the last record update.
  • secret (string, optional): Webhook signing secret returned only when created or rotated. Store it securely.
Download input schema · Download output schema

Errors and retries

This command is not annotated idempotent. After a timeout, inspect existing state before repeating a write. See error recovery for status, scope, cooldown, cursor and retry handling. Unknown observations are result data and do not establish loss.

HTTP resource routes

These existing resource routes share the operation’s domain behavior. Their parameter placement, status and response envelope can differ from generic invocation. See HTTP route details.

Continue

list_webhook_deliveries · list_webhooks Follow the related workflow, inspect capability status, or return to the command index.