List customer alerts
POST {{baseUrl}}/customer-alerts/list?next_page=<string>
Fetch all customer alert statuses and alert information for a customer
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
next_page | string | Cursor that indicates where the next page of results should start. |
Request Body
{"customer_id"=>"<uuid>", "alert_statuses"=>["disabled"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":[{"customer_status":"ok","alert":{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","type":"usage_threshold_reached","status":"archived","threshold":"\u003cnumber\u003e","updated_at":"\u003cdateTime\u003e","uniqueness_key":"\u003cstring\u003e","credit_type":{"name":"\u003cstring\u003e","id":"\u003cuuid\u003e"},"credit_grant_type_filters":["\u003cstring\u003e","\u003cstring\u003e"],"custom_field_filters":[{"entity":"Commit","key":"\u003cstring\u003e","value":"\u003cstring\u003e"},{"entity":"Contract","key":"\u003cstring\u003e","value":"\u003cstring\u003e"}],"group_key_filter":{"key":"\u003cstring\u003e","value":"\u003cstring\u003e"},"invoice_types_filter":["\u003cstring\u003e","\u003cstring\u003e"]},"triggered_by":"\u003cstring\u003e"},{"customer_status":"evaluating","alert":{"id":"\u003cstring\u003e","name":"\u003cstring\u003e","type":"low_remaining_days_for_commit_segment_reached","status":"archived","threshold":"\u003cnumber\u003e","updated_at":"\u003cdateTime\u003e","uniqueness_key":"\u003cstring\u003e","credit_type":{"name":"\u003cstring\u003e","id":"\u003cuuid\u003e"},"credit_grant_type_filters":["\u003cstring\u003e","\u003cstring\u003e"],"custom_field_filters":[{"entity":"Contract","key":"\u003cstring\u003e","value":"\u003cstring\u003e"},{"entity":"ContractCredit","key":"\u003cstring\u003e","value":"\u003cstring\u003e"}],"group_key_filter":{"key":"\u003cstring\u003e","value":"\u003cstring\u003e"},"invoice_types_filter":["\u003cstring\u003e","\u003cstring\u003e"]},"triggered_by":"\u003cstring\u003e"}],"next_page":"\u003cstring\u003e"}