Available Endpoints
Endpoint | Description |
---|---|
/alerts/create | Creates a new alert configuration for a plan or contract. |
/customer-alerts/get | Retrieves a specific alert configuration for a given customer. |
/customer-alerts/list | Lists all active alerts for a customer. |
/customer-alerts/reset | Resets an alert, clearing its triggered state. |
/alerts/archive | Archives an alert configuration so it no longer triggers. |
Supported Alert Types
When using these endpoints, thealert_type
field determines what condition triggers the alert.
The supported values for alert_type
when using plans include:
low_credit_balance_reached
low_remaining_days_in_plan_reached
low_remaining_credit_percentage_reached
usage_threshold_reached