Webhook to Incident
-
Go to Instatus, under Integrations, select Webhook to Incident
-
Copy your page's webhook URL
-
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, and be sure to include the templates.
{"trigger": "down","createTemplate": "cl8hrdsdsasu232441sv26yq","status": "PARTIALOUTAGE"}
Status is optional
- If you want to resolve an incident, send a POST request to the URL with the following body
{"trigger": "up","resolveTemplate": "cl8hrdsdsasu232342441sv26yq"}
We're done! 👏