Webhooks
Deliver release events into Shots via signed inbound webhooks and receive workspace event notifications via HMAC-signed outbound webhooks.
Shots supports both inbound webhooks (for triggering releases and deployments) and outbound webhooks (for notifying your own systems when Shots workspace state changes).
Inbound Release & Deployment Webhooks
- Register a release source in Automate → Repositories (
/workflows/sources), Automate → Deployments (/workflows/deployments), or via the Source Apps API (source:writescope). - Point your GitHub, GitLab, Vercel, Netlify, Cloudflare, or custom CI webhook at your workspace's source endpoint (
/api/webhooks/source/{sourceAppId}). - Shots verifies the provider signature before accepting any event, deduplicates replayed deliveries, and routes the event to matching active Automate workflows or to Campaigns → Release inbox.
Outbound Workspace Webhooks
Configure outbound webhook destinations in Settings → Developer API (/settings/developers).
- Every outbound delivery is signed with an HMAC secret generated per destination.
- Always verify the signature header against the raw request body using a constant-time comparison before processing the event.
- Return a
2xxstatus quickly and process slow downstream work asynchronously; failed deliveries are retried with backoff and recorded in the workspace webhook delivery log.