This change adds webhook support for tenant event limit notifications, configurable at the team level by admins at the manage team > notifications dropdown. When configured, the webhooks will receive POST requests when the daily tenant event limit is approaching (80%) or has been reached, complementing the existing in-app and email notifications.
All notification types (webhook, in-app, and email) are limited to once per 24 hours. Example POST request payload below:
"body": {
"notification_type": "tenant_event_limit",
"notification_description": "This notification is sent when the tenant wide event limit is being approached or has been reached.",
"payload": {
"top_story_ids": [1, 2, 3],
"exceeded_limit": true
}
}