Alerts & Views
Create Alert
Create a new alert to receive notifications when specified conditions are met.
POST
Authentication
Requires an alert token in theX-Alert-Token header. Obtain a token via the Get Alert Token endpoint.
Request Body
Human-readable name for the alert.
Alert type. One of:
cpix_threshold— Trigger when CPIX score crosses a thresholdcpix_change— Trigger on CPIX score changesector_pressure— Trigger on sector pressure levelsignal_severity— Trigger on signal severityseries_threshold— Trigger when a data series crosses a thresholdweekly_digest— Weekly summary digest
Trigger condition. One of
above, below, rises_by, falls_by, any, high, or medium.Email address to receive alert notifications.
Numeric threshold for threshold-based alert types.
Geographic filter. One of
US or UK.Sector identifier for
sector_pressure alerts.Optional WhatsApp number for mobile notifications.
Series key for
series_threshold alerts.Minimum consecutive periods the condition must hold before triggering.
Response
Returns201 Created with the full alert object.