v52

latestOpenAPI 3.0.1AGPL-3.0raw.githubusercontent.com2026-08-01255473862.7 KB
Webhook Events

subscription.line_item_spend.threshold_reached

Fired when a subscription line item's metered spend crosses an alert threshold (critical, warning, or info) for the current billing period. Doc-only for parsing.

post/webhook-events/subscription.line_item_spend.threshold_reached

Response

Webhook payload

alert_status'ok' | 'info' | 'warning' | 'in_alarm'
alert_type'low_ongoing_balance' | 'low_credit_balance' | 'feature_wallet_balance' | 'subscription_spend' | 'subscription_line_item_spend' | 'subscription_group_spend' | 'entitlement_grant_threshold' | 'entitlement_grant_exhausted'
current_spendstring
triggered_atstring date-time