Incident Webhook (Incident Webhook/API)
Send events to create incidents in Squadcast using Incident Webhook (generic incoming Webhook)
This document will help you configure Incident Webhook to route alerts from monitoring tools or your internal (bespoke) systems into Squadcast. Incident Webhook can do both, trigger and resolve incidents in Squadcast, through HTTP POST requests.
Route detailed monitoring alerts coming in via Incident Webhook to the right users in Squadcast.
How to configure Incident Webhook
In Squadcast: Using Incident Webhook as an Alert Source
From the navigation bar on the left, select Services. Pick the applicable Team from the Team-picker on the top. Next, click on Alert Sources for the applicable Service

Search for Incident Webhook from the Alert Source drop-down and copy the Webhook URL. Use this Webhook URL endpoint to send
HTTP POSTrequests

The body of the POST request should contain the details of your incident in the following format:
Event Identification and Resolution
This section will give you an understanding of how one can associate alerts with Squadcast incidents and resolve them with an API call.
Typical Incident JSON
This triggers an incident and associates the incident with the event_id value as specified. This event_id can be used to resolve the above-created incident with an API call.
To resolve an incident, a JSON with the format shown below should be sent.
The
statusfield should be set to the value"resolve"The associated
event_idshould also be sent along with this
Add a Tag From directly Incident JSON
This section will give you an understanding of how you can add tags to an incident straight from the Incident JSON using the Incident Webhook.
Typical Incident JSON:
Example 1: Using tags to set the Severity for the incident
To specify a color explicitly for tags:
Example 2: Adding different tags to an incident
Have any questions? Ask the community.
Last updated
Was this helpful?