Notification Settings
Retrieve and update notification preferences for the authenticated account.
GET /settings/notifications
Returns current notification settings.
Authentication
Requires an API key with Admin access level.
curl https://api.growpanel.io/v1/settings/notifications \
-H "Authorization: Bearer YOUR_API_KEY"Response
Status: 200 OK
{
"email": {
"enabled": true,
"recipients": ["[email protected]", "[email protected]"],
"frequency": "weekly"
},
"slack": {
"enabled": true,
"channel": "#revenue-updates",
"events": ["new_customer", "churn", "expansion"]
},
"alerts": {
"churn_threshold": 5,
"mrr_drop_threshold": 10
}
}PUT /settings/notifications
Update notification preferences.
Request
curl -X PUT https://api.growpanel.io/v1/settings/notifications \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": {
"enabled": true,
"frequency": "daily"
},
"alerts": {
"churn_threshold": 3
}
}'Response
Status: 200 OK
Returns the updated notification settings.
Related pages
- Notifications - Setting up notifications
- Slack integration - Connecting Slack