Create a webhook endpoint
Create a new webhook endpoint for the organization. Returns the signing secret (shown only once). Maximum 5 endpoints per organization.
Authorizations
Supabase JWT token in Authorization: Bearer header
Path Parameters
Organization identifier (e.g. org-abc12345)
Body
HTTPS URL that will receive webhook POST requests
Human-readable description of this endpoint
Event types to subscribe to. Empty array means all events. See the webhook event catalog for the full list and per-event payload schemas.
integrity.violation, integrity.checkpoint, drift.resolved, conscience.escalation, quota.warning, quota.exceeded, subscription.status_changed, agent.paused, agent.resumed, agent.killed, conscience.values_updated, reputation.score_changed, reputation.grade_changed, quota.risk_exceeded, quota.risk_warning, team.created, team.archived, team.member_added, team.member_removed, team.card_updated, quota.team_reputation_exceeded, quota.team_reputation_warning, quota.sh_warning, sh.evaluation.warn, sh.evaluation.quarantine, sh.evaluation.block, sh.canary.triggered, sh.session.escalated, sh.campaign.detected, recipe.promoted, recipe.retired, recipe.candidate.created, reviewer-mode.changed, trace.created, trace.verified, trace.failed, trace.escalation_required, policy.violation, transaction.completed, alignment_card.updated, protection_card.updated, org_alignment_template.updated, org_alignment_template.deleted, org_protection_template.updated, org_protection_template.deleted, agent.exemption.granted, agent.exemption.revoked, sideband.coherence.fired, sideband.fault_line.fired, sideband.fleet.fired, sideband.drift.fired, advisory.published, ioc.added, network.campaign.closed Response
Webhook endpoint created. Response includes signing_secret (shown only once).
Webhook endpoint with signing secret (only returned on creation and secret rotation)
Unique identifier (whe-xxxxxxxx)
32-byte hex-encoded HMAC signing secret. Only returned on creation and rotation.
Subscribed event types. Empty array means all events.