Integrations and alerts — Hit Status docs
Every incident (opened, escalated and recovered) and, if you like, Hex's analyses can go to your team's channels. Set them up in Integrations; each channel…
Integrations and alerts
Every incident (opened, escalated and recovered) and, if you like, Hex's analyses can go to your team's channels. Set them up in Integrations; each channel chooses which events it receives and from which priority. Each monitor can also restrict its alerts to specific channels or to direct e-mails.
After creating a channel, use Test: we send a sample message and show the result (or the error returned by the provider) on the channel card.
Slack with buttons (Slack app)
To handle the incident without leaving Slack, choose Slack (app with buttons). Every alert arrives with Acknowledge and Resolve buttons (plus Open in Hit Status); when the incident changes (acknowledged, escalated or resolved, in Slack, in the panel, in the app or over WhatsApp), the same message is updated and a short reply goes into the message thread. Hex's analysis is included once it exists. Messages, buttons and replies follow the organization's language (English or Portuguese, under Organization).
Add to Slack (recommended). In Integrations → Slack (app with buttons), click Add to Slack. Slack shows your workspace and the permissions of the Hit Status app and asks you to pick the channel for the alerts; once you authorize, you come back to Hit Status with the channel created and a welcome message in the channel. No app to create and no token to copy. To send alerts to another channel, connect again and pick the other channel (or use Change channel on the integration). The app asks for chat:write, chat:write.public, commands, users:read, users:read.email and incoming-webhook (the last one is what shows the channel picker). If someone removes the app from Slack, the integration is paused and says so; deleting the integration in Hit Status revokes the app's access to the workspace (when no other integration uses the same workspace).
Your company's own app (alternative). If you prefer an app created in your own workspace, click I'd rather use our own company app:
- At api.slack.com/apps → Create New App → From a manifest, pick the workspace and paste the manifest shown in the integration form (Copy manifest button). It creates the bot with the
chat:write, chat:write.public, commands, users:read and users:read.email scopes, the /hitstatus command and interactivity pointing at Hit Status:
- Interactivity:
https://hitstatus.pro/api/slack/interactive - Slash command
/hitstatus: https://hitstatus.pro/api/slack/commands
- Click Install to Workspace and authorize.
- Copy the Bot User OAuth Token (
xoxb-…, in OAuth & Permissions) and the Signing Secret (Basic Information → App Credentials) and paste them into Hit Status with the channel (an ID like C0123456789 or a name like #noc-alerts). In a private channel, invite the app first: /invite @Hit Status. - Use Test.
Every click and command is checked against Slack's signature (X-Slack-Signature, HMAC-SHA256 with the app's Signing Secret, at most 5 minutes of clock skew); without a valid signature Hit Status refuses it. The token and the secret are stored encrypted. Whoever acts shows up in the timeline and in the audit log with the origin Slack: if the person's Slack e-mail belongs to someone in the organization, their Hit Status name is used. The option Only people with a Hit Status account can acknowledge and resolve comes on and requires an operator or administrator of the organization; off, anyone in the channel can act.
The /hitstatus command (only the person who typed it sees the answer):
/hitstatus status: open incidents, with priority and link./hitstatus ack 123 and /hitstatus resolve 123: acknowledges or resolves incident #123./hitstatus oncall: who is on call now in each schedule and when it changes.
The plain webhook (below) still works if you only want to receive the alerts.
Slack
Create an Incoming Webhook in your Slack app (api.slack.com/apps → Incoming Webhooks → Add New Webhook to Workspace) and paste the https://hooks.slack.com/services/… URL. The message is sent in Block Kit: title, incident details and an Open in Hit Status button.
Microsoft Teams with buttons (Teams app)
To handle the incident without leaving Teams, choose Microsoft Teams (app with buttons). Each alert arrives as a card with Acknowledge, Resolve (confirmed on the card itself) and Open in Hit Status; when the incident changes (in Teams, Slack, the panel, the app or WhatsApp), the same card is updated for everyone and a short reply goes in the card's thread. The Hex analysis is added to the card when it exists. Cards, buttons and replies follow the organization's language (English or Portuguese, under Organization).
- In Integrations → Microsoft Teams (app with buttons), download the app (
hit-status-teams.zip). - In Teams: Apps → Manage your apps → Upload an app → Upload a custom app, pick the file and click Add to a team, in the alerts channel. If the upload option is missing, your Teams admin uploads it once in Teams admin center → Teams apps → Manage apps → Upload new app.
- Back in Hit Status, click Generate connection code and write in the channel:
@Hit Status conectar HS-XXXX-XXXX. The code is valid for 30 minutes and works once; the form closes by itself when Teams confirms. To get alerts just for you, write the same in the personal chat with the app.
Mentioning the app in the channel (or in the personal chat, without the mention):
@Hit Status status: open incidents, with priority and link.@Hit Status ack 123 and @Hit Status resolve 123: acknowledges or resolves incident #123.@Hit Status plantao: who is on call now in each schedule and when it changes.
Every message from Teams carries Microsoft's signed token (Bot Framework), checked by Hit Status; without it, the message is refused. Whoever acts shows in the timeline and the audit trail with the origin Teams: if the person's e-mail in Teams belongs to someone in the organization, their Hit Status name is used. The option Only people with a Hit Status account can acknowledge and resolve is on by default. If the app is removed from the team, the integration is paused; to switch channels, connect the new one and delete the old one.
Microsoft Teams (webhook)
The simple way, without buttons. In the channel: ⋯ → Workflows → *Post to a channel when a webhook request is received* → copy the URL (https://….logic.azure.com/…). We send an Adaptive Card (title colored by state, facts and a button). The legacy connectors (webhook.office.com) also accept the same format.
Discord
In the channel: Edit Channel → Integrations → Webhooks → New Webhook → Copy Webhook URL (https://discord.com/api/webhooks/…). The alert is sent as a red, orange or green *embed*.
Google Chat
In the space: space name → Apps & integrations → Webhooks → Add. Paste the https://chat.googleapis.com/v1/spaces/… URL.
Telegram
- Talk to @BotFather →
/newbot → copy the token. - Add the bot to the group (and give it permission to post).
- Find the group's
chat_id: send a message in the group and open https://api.telegram.org/bot<TOKEN>/getUpdates; group ids start with -100.
PagerDuty
In the service: Integrations → Add integration → Events API v2 → copy the *Integration Key*. We trigger an alert when the incident starts (severity based on priority and type), update it when it escalates and resolve it automatically when it recovers. One alert per incident (dedup_key = hitstatus-incident-<id>).
E-mail
A list of up to 20 recipients. Besides channels, each monitor accepts direct e-mails in its form ("Where to alert").
Webhook (your API, n8n, Zapier, Make, ITSM)
POST JSON to your https:// URL. Headers:
Header · Content
Content-Type · application/json
X-HitStatus-Event · opened · escalated · resolved · test · agent_update
X-HitStatus-Delivery · unique delivery id
X-HitStatus-Signature · sha256=<HMAC-SHA256 of the raw body with your secret> (when a secret is configured)
Body:
{
"event": "opened",
"title": "🔴 [P1] Novo incidente: Link Internet Principal",
"text": "Site: CD Campinas — Campinas/SP\nAtivo: Link Internet Principal (link · Vivo)\nMonitor: Ping → 200.1.2.3\nEstado: Indisponível — timeout",
"url": "https://app.hitstatus.pro/app/incidents?id=123",
"incident": {
"id": 123, "kind": "down", "priority": "P1", "status": "open", "title": "…", "reason": "timeout",
"started_at": 1790000000000, "resolved_at": null,
"site_name": "CD Campinas", "city": "Campinas", "state": "SP",
"asset_name": "Link Internet Principal", "asset_type": "link", "provider": "Vivo",
"monitor_name": "Ping", "monitor_type": "ping", "target": "200.1.2.3"
},
"sent_at": "2026-10-07T12:00:00.000Z",
"source": "hit-status"
}
Validating the signature (Node.js):
import crypto from 'node:crypto';
const expected = 'sha256=' + crypto.createHmac('sha256', process.env.HIT_WEBHOOK_SECRET).update(rawBody).digest('hex');
const ok = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(req.headers['x-hitstatus-signature'] || ''));
Reply with 2xx within 10 s. Failures show up on the channel card and in the incident timeline.
Priority and events
- P1–P4 comes from the criticality of the site and the asset and from the number of affected assets. "From priority" filters the channel.
- Events: Opened, Escalated, Recovered and Hex analyses (the agent's reports and summaries).
WhatsApp, SMS and phone call
These are part of On-call: escalation per person, with prepaid credit. See *On-call and escalation*.