AlertDart

Help and support

AlertDart is the alert desk and on-call rota inside Microsoft Teams. It gives a channel its own address for alerts, posts what your tools send there as cards under its own name, and keeps mentioning the person on call until someone acknowledges. Write to support@tenhatch.com with any question.

Getting started

  1. Add AlertDart to a team from the Teams Store (Apps, search for AlertDart, Add to a team).
  2. For a private or shared channel, add AlertDart to that channel too (below): Teams does not give a team’s apps to its private and shared channels.
  3. In the channel the alerts belong in, type @AlertDart new.
  4. Press New address, give it a name (for example “Deploys”) and press Make the address.
  5. Copy the address from the window. It is shown only this once. Paste it into your tool where it asks for a webhook URL or a Teams address.

Commands

In a channel, @mention AlertDart with one of these:

Every change to an address, a rota or the escalation steps is noted in the channel with the person’s name.

Alert cards and notices

Alerts from the Opsgenie-style door and the agent door, and critical or warning alerts sent to an address, come with the buttons Acknowledge, Resolve, Escalate and Snooze (30 minutes, 1 hour or 4 hours). The card is redrawn for everyone, with its last five steps and who took them.

The rota and escalation steps

Import a schedule from Opsgenie

  1. In Opsgenie, open your team’s schedule and choose Export team schedule. It downloads a calendar file (.ics) with the next 12 months of turns.
  2. In the channel, type @AlertDart import and open the page it links to (the link works for 30 minutes).
  3. Choose the file and the time zone the turns hand over in, and press Check the file. AlertDart shows the turns, the handover time, the order of the people and any overrides it found. Shifts that do not fit daily or weekly turns become overrides.
  4. Press Save this rota for the channel. If someone in the file is not in the team, nothing is saved and AlertDart names them.

AlertDart never connects to Opsgenie and never asks for an Opsgenie key. It matches people to the team’s members by email address or display name, reading the team’s member list from Teams only for the import. Opsgenie’s escalation policies have no export file: set them again with @AlertDart escalation.

The monthly record

@AlertDart record shows, for the channel and month: every alert, who was on call when it came, when and by whom it was acknowledged and resolved, the minutes it took, the escalation steps it reached and the notices sent; and the month’s totals. Download the CSV gives the same as a file (the link works for 30 minutes). AlertDart keeps the current month and the 12 before it.

Watch SharePoint

A channel can watch a library, a folder, a list or one file of the SharePoint site where its own files are kept (its Files tab, Open in SharePoint): for a standard channel the team’s site; a private or shared channel has its own site. Its changes post in the channel as a card a few minutes after they happen, or as a daily or weekly digest (Mondays) at the time you choose. Anyone in the channel can start or stop a watch; nobody needs SharePoint editing rights or a flow.

  1. An administrator of your organization connects SharePoint once: type @AlertDart watch, press Watch SharePoint, and send them the link to Microsoft’s approval page. It asks for two read-only permissions, Sites.Read.All and Files.Read.All.
  2. Open the library, folder or list in your browser and copy the address from the address bar. For one file, select it in its library, open Details and copy its Path. A sharing link, or the address of a file open in Office for the web, does not say where the item is, so it does not work.
  3. Type @AlertDart watch, press Watch SharePoint, paste the address, choose cards or a digest, and press Start watching. Manage watches shows each watch’s log and stops it.

Private and shared channels

Microsoft now lets apps into private channels (its notice MC1197145, “This feature is now available”), and they work as in shared channels: each app is added to each channel. Installing AlertDart in the team does not add it there.

  1. In the private or shared channel, open Apps (or Add a tab), find AlertDart and choose to add it to this channel. Channel owners decide whether members may add apps. For a shared channel, do it from the team that hosts it. AlertDart posts a short welcome card there.
  2. Then everything works as in any channel: @AlertDart new, the rota, the buttons, the delivery log and @AlertDart watch. Its cards there are seen only by the channel’s people.

Switching a tool from Opsgenie

In a tool that sends to Opsgenie’s Alert API, change the API address to https://alertdart.tenhatch.com and the API key to the channel’s AlertDart key: the part of the channel’s alert address after /h/. AlertDart takes create, acknowledge, close, get, and request status, in the same shape, with the key in Authorization: GenieKey. Other Opsgenie alert calls (notes, tags, assign, list) answer 404 with a message.

For AI agents and scripts

Send the channel’s key in Authorization: Bearer. Every call reaches only that channel’s alerts and rota.

Call What it does
POST /api/v1/alerts Post an alert: message, priority P1 to P5, alias, description and more.
GET /api/v1/alerts/<id> One alert, by id (or ?identifierType=tiny or alias).
POST /api/v1/alerts/<id>/acknowledge, /close Acknowledge or resolve it; {"user": "…"} says who.
GET /api/v1/oncall Who is on call now, who is next and from when, and the escalation steps.
GET /api/v1/rota The rota: turns, handover time and time zone, people in order, overrides to come, escalation steps.
POST /api/v1/rota/import?timeZone=… Opsgenie’s schedule export (.ics) as the body; shows what it found, and saves with &save=true.
GET /api/v1/record?month=2026-10 The monthly record as JSON, or as CSV with &format=csv.
GET /api/v1/rule The dates and Atlassian’s exact words on Opsgenie’s shutdown. No key needed.
POST /mcp MCP (JSON-RPC 2.0): post_alert, who_is_on_call, get_rota, monthly_record, import_opsgenie_schedule, get_alert, acknowledge_alert, close_alert, opsgenie_shutdown_rule.

What a tool can send

Send a POST to the address with a body of up to 64 KB. AlertDart reads:

Title and text

{
  "title": "Disk almost full on db-2",
  "text": "Free space is **6%**. [Open the dashboard](https://example.com/db-2)",
  "severity": "warning",
  "link": "https://example.com/db-2",
  "facts": { "Host": "db-2", "Free": "6%" }
}

Only text is needed. severity (or status) colours the card: words such as critical, error, failed and down are red; warning and degraded amber; ok, resolved, passed and success green; info blue. facts can also be a list of {"name", "value"}.

Old connector cards (MessageCard)

The JSON the retired Office 365 connectors took: title, text, themeColor, sections (activity title, subtitle and picture, text, facts, pictures) and OpenUri buttons. Point the tool at the AlertDart address instead of the old webhook and keep everything else.

Adaptive Cards

An Adaptive Card on its own, or in the form Microsoft’s Workflows webhook takes: {"type": "message", "attachments": [{"contentType": "application/vnd.microsoft.card.adaptive", "content": {…}}]}.

Any other JSON, or plain text

AlertDart takes the title, message, link and status from their usual names (title, subject, message, description, url, status, severity and others) and shows up to 12 of the other top-level values as facts. A body sent as text/plain is posted as it is.

What is changed or left out

What your tool gets back

Status Meaning
200 Posted in the channel. The body is {"ok": true}.
400 The body could not be read; the answer’s error says why.
404 No such address: it was turned off, given a new secret, or mistyped.
410 AlertDart is no longer in the team the address posted to.
413 The body is larger than 64 KB.
429 More than 30 alerts a minute to this address (wait the seconds in Retry-After), or your organization reached its number of alerts for the month.
502 Teams did not take the alert. Send it again shortly.

When deliveries are refused, the channel gets one short note, at most once an hour for each address, saying what was wrong. The delivery log (@AlertDart list, Delivery log) shows each delivery’s time, result, size and how it was read.

Keeping addresses safe

Limits

Removing AlertDart

Remove it from the team (the team’s Apps tab, AlertDart, Remove). AlertDart then deletes that team’s addresses, logs, alerts, rotas, escalation steps and watches. Removed from one private or shared channel, it deletes that channel’s. To have anything else deleted, write to us.