Webhook to Incident
-
Go to Instatus, under Integrations, select Webhook to Incident
-
Open the integration and copy its webhook URL. Every integration has its own URL, shown in the dashboard.
-
If you want to open a new incident, send a POST request to the URL with the following body. Encode it as JSON with the
Content-Type: application/jsonheader.
{"trigger": "down"}
The incident text and affected components come from the integration's trigger template.
- If you want to resolve an incident, send a POST request to the URL with the following body
{"trigger": "up"}
The resolve message and the components to restore come from the integration's resolve template.
We're done! 👏