Preferences
Endpoints
GET /api/v1/notification-preferences
PUT /api/v1/notification-preferencesPreference rows
A preference is a tuple of (user, channel, type, enabled). The unique constraint is (uid, channel, type), so flipping the row toggles that exact combination.
Event types
| Type | Triggered by |
|---|---|
payment.requested | Manual payment proof submitted by an admin. |
payment.rejected | Admin rejects a manual payment. |
subscription.activated | Stripe / PayTR / Iyzico webhook reports a successful charge. |
trial.endingSoon | 3 days before trial expiry. |
trial.expired | Trial period ends. |
quota.warning | A workspace quota crosses 80 % used. |
team.invitation | An invitation email has been sent. |
marketplace.order_received | Seller receives a new order. |
news | Manual broadcasts from the admin (release notes, downtime windows). |
Defaults
All channels enabled for every type for new users. Toggle off the chatty ones (news, quota.warning in some workspaces) per personal preference.