Company event
Sent to each of your active webhook endpoints when a monitored company changes: an
event (object: "event") whose type is the event type your monitor subscribed to and
whose data.object is the alert, exactly as GET /alerts lists it. The body is JSON,
sent with Content-Type: application/json.
Deliveries follow the Standard Webhooks scheme: the
svix-id, svix-timestamp and svix-signature headers sign the raw body with your
endpoint's secret (shown once, when the endpoint is created). svix-id is the event's
id; a retry carries it again, so de-duplicate on it. Deliveries can arrive out of order.
Free. Delivering an event costs nothing.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
What your webhook endpoint receives: one event per change and monitor, in the same shape
Stripe sends. data.object is the alert exactly as GET /alerts lists it, so one parser
serves both. The body is the message exactly as it was signed.
One change that several of your monitors cover arrives once per monitor: different event
ids, different alert ids, different monitor_ids.
Response Body
Example Requests
/companyEvent