Realtime disruption webhook
POST /api/webhooks/disruption
POST
/api/webhooks/disruption
Accepts a single disruption trigger from providers that support push (e.g. Tomorrow.io Alerts). Runs processSingleTrigger immediately: inserts event, finds eligible policies, fraud checks, creates claims and payouts. Secured with WEBHOOK_SECRET or CRON_SECRET (Authorization Bearer or X-Webhook-Secret).
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
type
required
string
subtype
string
Example
extreme_heat severity
number
lat
required
number
lng
required
number
radius_km
number
raw
object
Responses
Section titled “ Responses ”Processed
object
ok
boolean
eventId
string format: uuid
claimsCreated
integer
payoutsInitiated
integer
Invalid body
Unauthorized
Webhook or Supabase not configured