Webhook and stream workflows
Webhook lifecycle
- Create an org-scoped webhook endpoint with
POST /v1/webhook_endpoints - Store the returned
signingSecretat creation time or after a secret rotation - Verify inbound signatures using the raw request body plus
x-omni-signature-timestamp - Use
POST /v1/webhook_endpoints/{webhook_id}/rotate_secretwhen a secret is exposed or stale
Stream lifecycle
- Create a stream subscription with
POST /v1/stream_subscriptions - Subscribe to the smallest event set that supports the workflow
- Track the returned
cursorandlastEventAtfields for replay and polling - Use webhook replay tooling if a downstream consumer falls behind during the scaffold phase
Current event types
artifact.createdartifact.reconciledwebhook_endpoint.createdstream_subscription.created