PlanChange event fires whenever a user upgrades or downgrades the plan associated with your installed app. The payload includes both the previous plan ID and the new plan ID, giving you a complete picture of the transition. Use this event to adjust feature entitlements, update billing records in external systems, or trigger plan-specific onboarding or offboarding steps.
Payload
| Field | Type | Description |
|---|---|---|
type | string | Always "PLAN_CHANGE" |
appId | string | ID of the app whose plan was changed |
locationId | string | Sub-account ID if the plan change occurred at the location level |
companyId | string | Agency ID associated with the account |
userId | string | ID of the user who initiated the plan change |
currentPlanId | string | ID of the plan the account was on before the change |
newPlanId | string | ID of the plan the account has switched to |
Example payload
Related
- App Install — fires at initial installation and includes the starting plan
- OAuth 2.0 — authorization and app management overview
.png?fit=max&auto=format&n=EQK5eX9kTD8NzWwA&q=85&s=878008bf159fcc4964d0c0d508b6e400)