Outbound Webhook Subscriptions and Event Payloads
Outbound webhook subscriptions store an HTTPS destination and selected event names. Creating a subscription does not enable run-event delivery. Use GET /v2/runs/{run_id} to observe workflow completion; a subscription is not a replacement for polling.

The subscription route is shown as an operation, not a complete creation request. Registration does not enable run-event delivery. Where delivery is enabled, use Standard Webhooks verification and durable event-ID deduplication.
Before you begin
An HTTPS receiver and permission to manage webhook subscriptions through the public API.
Key concepts
Webhook subscription
Registration of a destination and supported events for outbound notifications. Successful registration does not prove a particular event has been delivered.
Event ID
An identifier for a delivered event. Use it to recognize duplicates where the sender guarantees stable event identifiers.
HMAC signature
A message-authentication value calculated using a shared secret and payload. The receiver must use the same algorithm, encoding, and exact payload representation.
Raw body
The original request bytes before parsing or reformatting. Signature verification can fail if the body is changed before verification.
Asynchronous operation
An operation acknowledged before its processing is complete. Retain its handle and follow its documented status or completion mechanism.
Register an event subscription
Create a subscription through
POST /v2/webhooks/subscriptionswith your HTTPS URL and accepted event types. Save the returned signing secret securely; list responses do not return it.Keep polling the run status endpoint for completion. Successful subscription creation confirms configuration, not that a run will emit a notification.
If deliveries are enabled for your deployment, verify their signatures against the raw request body before processing. Use a Standard Webhooks verifier with the signing secret and the
webhook-id,webhook-timestamp, andwebhook-signatureheaders.Deduplicate by event ID in durable storage. Return a successful response after durable acceptance, then process the accepted event asynchronously.
Behavior and limitations
Accepted event names are run.started, run.step.succeeded, run.step.failed, run.succeeded, run.failed, and run.cancelled. These are subscription filters, not a guarantee of event production for every run. There is no public delivery-history or replay endpoint. Reject invalid or stale signatures, and do not assume event ordering or exactly-once delivery.
Related resources
Trigger Activation and Execution Context
Was this helpful?

