Why send CCTV alerts to a chat channel?
Because some teams live in a chat app all day, and an alert that lands in the channel they already read is seen by everyone at once. Phone calls and WhatsApp messages reach named people one after another. A channel reaches the whole shift, the area managers or the control room, and everyone can see that someone has taken it.
Webhooks do not replace the alert sequence. The contacts on your list are still told in their order, on their channels, until someone marks the alert. The channel post is an extra copy for the people who watch the room rather than a phone.
Which apps can receive GoKavach alerts?
Four kinds of address, chosen in the Send to list when you add a webhook:
- Slack: an incoming webhook address from your Slack workspace. The channel gets the headline, the severity, an Open alert link and the alert picture.
- Microsoft Teams: the address of a Teams workflow that posts to a channel when a webhook request is received. The post is a card with the headline, the picture and an Open alert button.
- Telegram: your bot's sendMessage address with the id of the chat or group to write to. The message holds the headline, the severity and an Open alert link, without the picture.
- Your own system (JSON): any HTTPS address on the public internet that accepts POST requests, such as a ticket tool, a guard company's software or a script of your own.
What does the JSON webhook send?
Each delivery is one POST with a small JSON body: an event id, the event type (alert.created or alert.updated), the time, and the alert. The alert part carries its id, camera id, kind of event, status, severity, headline, the object seen and how sure the detection was, the area name, a count where one applies, the detection time, a link to the alert in the app and a link to its picture that works for a week.
Every request has an X-GoKavach-Signature header holding a timestamp and an HMAC-SHA256 of the timestamp and the body, made with the webhook's secret. Your code computes the same hash and drops any request that does not match, so nobody can post fake alerts to your endpoint by guessing its address. The headers also name the event and the delivery, so a request that arrives twice can be spotted.
What happens when the endpoint is down?
GoKavach tries again on a fixed timetable: 30 seconds after the first failure, then after 2 minutes, 10 minutes, 1 hour and 6 hours. Any answer outside the 2xx range, a timeout of 10 seconds or a host that cannot be reached counts as a failure. After the sixth try the delivery is marked failed and left in the history.
The webhook's page shows its 50 most recent deliveries, each with its status, the number of tries and any error, such as the code your endpoint answered, so a broken Slack link or an expired Teams workflow shows up as a row of errors rather than silence. Redirects are not followed, and the address is checked on every send to make sure it still points at a public host.
What does one alert look like across three channels?
Take a chain of three shops whose owner has set up a Slack channel for the area managers, a Telegram group for the guard company, and a JSON webhook to the company's own ticket tool.
- 02:10 A person is detected in the back-door area at the second shop. The alert sequence starts, and within a few seconds Slack shows the headline with the picture and Telegram gets the headline with a link.
- 02:10 The ticket tool is down for maintenance, so its delivery fails. GoKavach tries again at 02:10:30 and 02:12:30, and both fail too.
- 02:12 A guard opens the link from Telegram, sees the picture and the clip, and marks the alert Seen. Slack and Telegram each get a second message saying the alert was marked seen.
- 02:22 The ticket tool is back, and the try at 02:22:30 files the alert. The status change, which had its own failed tries, follows on its next one a couple of minutes later.
Can other software read alerts without a webhook?
Yes, with an API key. On the same Integrations page an owner or admin can create read-only keys and choose what each one may read: alerts, detections or cameras. The key is sent in an X-API-Key header and allows up to 120 requests a minute. It is shown once, can be revoked at any time, and the page says when it was last used.
A webhook is the better fit when something should happen the moment an alert is raised. A key suits a system that collects alerts on its own timetable, such as a nightly report or a dashboard that refreshes every few minutes.
Which plan includes webhooks and API keys?
Webhooks and API keys come with Business and Enterprise. On Pro and below, the Integrations page shows that they come with Business. An organization can have up to 10 webhooks and 10 API keys, and each webhook gets every alert in the organization, across all its locations.
Only owners and admins can add or remove webhooks and keys. Removing a webhook stops alerts going to it at once and deletes its delivery history.
What should you check before relying on it?
Test the address with a real alert, such as a walk past a camera while the location is armed, and look for the post in the channel and a successful row under Recent deliveries. Keep the Slack or Teams channel small enough that a post is noticed, and do not let it become the only way alerts are seen: if the chat app or the workflow breaks, the phone sequence is what still reaches a person. For WhatsApp messages to named people, see WhatsApp CCTV alerts.