DocsAlerting
Alerting
Add alert channels to a project so your team gets notified about crashes directly in email or Slack, instead of finding out from a support ticket.
Adding a channel
From your project's Notifications settings in the dashboard, add one or more channels. Each channel can be toggled on or off independently without deleting its configuration.
Email
Add the address to notify. Alerts are sent using the same email that delivers your account's transactional messages.
Slack
Paste an incoming webhook URL from api.slack.com/apps and optionally set a target channel. See integrations for the webhook setup steps.
API
Alert channels can also be managed programmatically against the same REST API the dashboard uses. See the full API reference for authentication details.
GET
/projects/:id/alertsList a project's alert channelsPOST
/projects/:id/alertsCreate an email or Slack channelPATCH
/projects/:id/alerts/:channelIdEnable or disable a channelcurl -X POST https://api.bugspulse.com/projects/<projectId>/alerts \
-H "Content-Type: application/json" \
-H "Cookie: <session cookie>" \
-d '{"type":"slack","webhookUrl":"https://hooks.slack.com/services/...","channel":"#crashes"}'