Incidents & alerts
Alert channels
Channels are where your team, or your agent, hears about problems. One workspace can have up to 50 channels, each with its own event filter.
Channel types
| Type | Needs | Delivers |
|---|---|---|
email | emails (up to 20) | An HTML email per recipient, with AI analysis when available. Needs a claimed workspace |
slack | url: a Slack incoming webhook (https://hooks.slack.com/…) | A message with fields, AI analysis and URL buttons (actions, Acknowledge, “Open in UpButler”) |
discord | url: a Discord webhook (https://discord.com/api/webhooks/…) | An embed with fields and AI analysis |
telegram | botToken + chatId | An HTML-formatted message from your bot |
webhook | url (+ optional headers) | Signed JSON per Standard Webhooks. The signing secret is returned once |
teams | url: a Teams Workflows webhook | An Adaptive Card with facts and action buttons. Setup |
pagerduty | integrationKey (+ region) | One PagerDuty alert per incident, acknowledged and resolved in step. Setup |
opsgenie | integrationKey + region | One alert per incident in Opsgenie or Jira Service Management. Setup |
push | nothing | Notifications on members' phones and browsers. Setup |
{
"name": "Ops agent",
"type": "webhook",
"url": "https://agent.example.com/hooks/upbutler",
"headers": { "x-tenant": "acme" },
"events": ["monitor.*", "incident.*"]
}{
"name": "#ops",
"type": "slack",
"url": "https://hooks.slack.com/services/T000/B000/XXXX"
}{
"name": "Discord #alerts",
"type": "discord",
"url": "https://discord.com/api/webhooks/1234567890/abcdef"
}{
"name": "On-call Telegram",
"type": "telegram",
"botToken": "7712345678:AAH-example-bot-token",
"chatId": "-1001234567890"
}{
"name": "On-call email",
"type": "email",
"emails": ["[email protected]", "[email protected]"],
"isDefault": false
}Create a channel
curl -X POST https://upbutler.com/api/v1/channels \
-H "Authorization: Bearer $UPBUTLER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Ops agent", "type": "webhook", "url": "https://agent.example.com/hooks/upbutler"}'{
"_id": "ch_0n3q8kz3j6d0q2b5ny8",
"name": "Ops agent",
"type": "webhook",
"config": { "url": "https://agent.example.com/hooks/upbutler", "secret": "whsec_MfKQ…" },
"events": [],
"enabled": true,
"isDefault": true,
"stats": { "ok": 0, "failed": 0 },
"signingSecret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
}Store signingSecret: it is only returned on creation, and when you rotate it with PATCH /channels/:id {"rotateSecret": true}. Elsewhere it is masked. Invalid URLs or missing fields for the chosen type return 422.
| Field | Type | Description |
|---|---|---|
namerequired | string | max length 80 |
typerequired | string | emailwebhookslackdiscordtelegramteamspagerdutyopsgeniepush |
emails | string (email)[] | email: recipientsmax 20 items |
url | string (url) | webhook/slack/discord: URL · teams: the webhook URL of a Workflows flowmax length 2,000 |
headers | map<string, string> | webhook: extra headers |
botToken | string | telegram: bot tokenmax length 200 |
chatId | string | telegram: chat idmax length 100 |
integrationKey | string | pagerduty: Events API v2 integration key (routing key) · opsgenie: API key of an API integration. Write-onlymin length 16 · max length 200 |
region | string | pagerduty: us (default) or eu service region · opsgenie: us, eu, or jsm for Jira Service Management Operationsuseujsm |
webhookSecret | string | null | pagerduty: signing secret of a v3 webhook subscription pointed at config.webhookUrl; acknowledge / resolve in PagerDuty then update the incident here. null removes it. Write-onlymin length 8 · max length 200 · nullable |
userIds | string[] | push: members to notify; empty = every member with push enabled on a devicemax 100 items |
threads | boolean | discord: the webhook points at a forum channel. Each incident becomes one post there and its updates and incident room notes go into that post |
events | string[] | Event types to receive. Empty or omitted = the default alert events. Supports "*" and "prefix.*".max 30 items |
isDefault | boolean | Attach to new monitors automatically (default true) |
enabled | boolean |
Choosing events
A channel with no events list receives the default alert events:
monitor.down monitor.up monitor.degraded monitor.reminder incident.created incident.updated incident.resolved maintenance.scheduled maintenance.started maintenance.updated maintenance.completed incident.acknowledged incident.rollback incident.upstream upstream.incident probe.offline probe.online
Or pass an explicit list. Wildcards work:
"*": every event that is delivered to channels, includingcomponent.status_changed. (monitor.createdandmonitor.deletedare only recorded in the event stream.)"monitor.*","incident.*","maintenance.*": everything under that prefix.
All event types are described in Events.
Which channels get what
- Monitor events (
monitor.down,monitor.up,monitor.degraded,monitor.reminder) go only to the channels attached to that monitor (itschannelIds), and only if they want the event. - Incident and maintenance events go to every enabled channel that wants them. For automatic incidents, your team already got
monitor.downandmonitor.up, so the automaticincident.createdandincident.resolvedgo to subscribers only, not to channels. Manual incidents, updates and maintenance go to channels. - Component changes (
component.status_changed) go to channels that subscribe to them explicitly (or"*").
Default channels
isDefault is true unless you say otherwise. A default channel is attached to all existing monitors when it is created, and to every new monitor created without explicit channelIds. Set isDefault: false for channels you want to attach by hand, such as a VIP email list for a single critical monitor (PATCH /monitors/:id with channelIds).
enabled: false pauses a channel without detaching it. Deleting a channel detaches it from every monitor.
Test a channel
curl -X POST https://upbutler.com/api/v1/channels/ch_0n3q8kz3j6d0q2b5ny8/test \
-H "Authorization: Bearer $UPBUTLER_API_KEY"
# → { "ok": true, "status": "sent", "error": null, "httpStatus": 200 }Sends a test.ping through the real delivery path and reports what happened, including the HTTP status your endpoint returned.
Reminders
While a monitor stays down, a monitor.reminder goes out at each of its reminderMinutes after the incident started (default [30, 120, 480]), with downForMinutes in the payload. Configure it per monitor. [] turns reminders off.
Acknowledging, on-call and escalation
Alerts that someone should own (monitor.down, monitor.reminder, incident.created) carry an Acknowledge link in email, Slack, Discord and Telegram. Acknowledging (on every plan, also over POST /incidents/:id/ack) stops the reminders for that incident and tells the alerted channels with incident.acknowledged.
On the Business plan, escalation policies page whoever is on call on a weekly rotation, then the next level after N minutes if nobody acknowledges. These pages go to people (email, push on their devices, Telegram) and to channels, and are sent as incident.escalated. See On-call & escalation.
Plain words and action buttons
Alerts about something failing or recovering lead with one plain sentence: what users see, since when (in the workspace timezone) and the deploy it followed, for example “Checkout is failing for users since 14:02 (4 minutes after deploy abc1234 by Vercel).” It is the email subject and preheader, the Slack, Discord and Telegram headline, and summaryPlain in webhooks. The technical detail (target, error, status code) follows underneath.
While the incident is open, the same alerts carry Roll back, Let Claude fix and Mute 1h next to Acknowledge. Each is a signed link to a confirm page; nothing happens until the button there is pressed. See Alert actions & rollback.
Quotas and delivery
- Email is metered. Each email sent counts toward the monthly quota, whether it goes to a team recipient or a status page subscriber. Once the quota is used up, further emails that month are dropped. Usage is shown in
GET /workspace. - Webhooks, Slack, Teams, Discord, Telegram, PagerDuty, Opsgenie and push are unmetered.
- Failed deliveries are retried with backoff (30 s, 2 min, 10 min, 30 min, 1 h, 3 h, 6 h). Client errors other than 408 and 429 count as permanent and aren't retried. See Webhooks → Retries.
- Each channel keeps
stats:ok,failed,lastDeliveryAt,lastError.
| Plan | Emails / month |
|---|---|
| Free | 300 |
| Starter | 2,500 |
| Pro | 15,000 |
| Business | 60,000 |