Skip to main content

Incidents

Incidents Intro

Manage real-time incidents and provide updates to your users.

Create Incident Form

Create an Incident

Create a new incident and optionally notify subscribers.

HTTP Method & URL: POST /api/admin/Incident

Authorization: Requires X-API-KEY

Request

NameValueRequiredDescription
X-API-KEYstringYesYour unique API key.
Content-Typeapplication/jsonYesSending JSON data.

Responses

Description: Success. Returns the created Incident ID.

Response Body: ApiResponse<Guid>

{
"Success": true,
"Result": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Message": "Incident created successfully"
}

Update an Incident

Add a new update or change the status of an existing incident.

HTTP Method & URL: PUT /api/admin/Incident

Request

Body: IncidentUpdateModel

{
"IncidentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Description": "We have identified the root cause and are applying a fix.",
"Status": "Identified"
}

Responses

Description: Success. Incident updated.

{
"Success": true,
"Message": "Incident updated successfully"
}

Resolve an Incident

Mark an incident as resolved.

HTTP Method & URL: POST /api/admin/Incident/ResolveIncident

Request

Body: JSON object

{
"IncidentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Responses

Description: Success. Incident resolved.

{
"Success": true,
"Message": "Incident resolved successfully"
}