Event list
credit.low
When it fires
The workspace credit balance falls below the alert threshold configured in Settings → Billing. By default, the alert is triggered when less than 20% of the current cycle’s credits remain.Payload
Key fields
Usage example
Use
credit.low to trigger an automatic alert in Slack or WhatsApp for the billing manager before service is interrupted. The estimated_depletion_at field helps prioritize urgency.credit.depleted
When it fires
The credit balance reaches zero. When this happens, the workspace enters restricted mode: the AI agent stops responding to new messages until credits are added or the billing cycle renews.Payload
Key fields
Usage example
plan.changed
When it fires
The workspace plan is changed: upgrade to a higher plan, downgrade to a lower one, migration between same-tier plans, or subscription cancellation. Includes both the previous and new plans.Payload
Key fields
Usage example
Use
plan.changed with change_type: "canceled" to trigger a retention flow — send a follow-up message or offer support before the customer fully stops using the platform.trial.expiring
When it fires
The workspace’s trial period is 3 days from expiration and has not yet converted to a paid plan. This event fires only once per trial cycle.Payload
Key fields
trial.expired
When it fires
The trial period ended without the workspace subscribing to a paid plan. After this date, the workspace enters read-only mode — no AI agents respond and new channels cannot be connected.Payload
Key fields
Usage example
Billing events are only sent to webhooks that have
credit.*, plan.*, or trial.* events in their subscription list. Make sure to include those categories when creating the webhook if you want to receive these notifications.