added
Maximum number of seats now included in webhook payloads
April 4th, 2025
Webhook payloads now include a new max_units
field. For seat-based plans, this field returns the maximum number of seats allowed. For feature-based plans, it returns null.
{
"type": "install",
"data": {
"app_id": 1000000000,
"app_name": "Test App",
"user_id": 2,
"user_email": "[email protected]", // the admin who installed the app or approved the installation
"user_name": "User 1", // the admin who installed the app or approved the installation
"user_cluster": "other",
"account_tier": "free",
"account_max_users": 10000,
"account_id": 777777,
"account_name": "Demo Account",
"account_slug": "test",
"version_data": { major: 4, minor: 5, patch: 0, type: "minor", number: 16 },
"timestamp": "2023-06-26T00:00:00.000+00:00",
"subscription": {
"plan_id": "5",
"renewal_date": "2023-07-10T00:00:00+00:00",
"is_trial": false,
"billing_period": "monthly",
"days_left": 14,
"pricing_version": 5,
"max_units": 100 // maximum number of seats allowed for seat-based plans, null for feature-based plans
},
"user_country": "IL"
}
}