Create a new alert to monitor customer spending, balances, and billing metrics in real-time. Metronome’s alert system provides industry-leading speed with immediate evaluation capabilities, enabling you to proactively manage customer accounts and prevent revenue leakage.
This endpoint creates configurable alerts that continuously monitor various billing thresholds including spend limits, credit balances, commitment utilization, and invoice totals. Alerts can be configured globally for all customers or targeted to specific customer accounts. Custom fields can be used on certain alert types to further target alerts to groups of customers.
A successful response returns a CustomerAlert object containing:
evaluate_on_create
: true
(default) for instant evaluation against existing customersuniqueness_key
within your organization. Use release_uniqueness_key
: true
when archiving to reuse keysbillable_metric_id
for usage alerts, credit_type_id
for credit-based alerts)Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The details of the alert to create
The body is of type object
.
Success
The response is of type object
.