Creates a new Incident. During creation, first Incident Update for this Incident will also be created.
Title of event.
Can contain only plain text. HTML tags and other forms of formatting are not allowed.
Timestamp of event start.
Can't be in future.
ISO8601 formatted time (UTC).
Type of Incident Update.
Exact meaning may depend on use case and there is just one restriction:
resolved can't be used as type of a first (by start_time) Incident Update.
When true notifications are not being sent to subscribers.
Does not impact draft notifications for Team Members.
State of Incident or Incident Update:
draft- Not published on Hub Page,unconfirmed- Published on Hub Page but marked as unconfirmed,published- Published on Hub Page.
- Main US regionhttps://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/incidents
- EU regionhttps://subdomain-of-your-account.app-eu1.statushub.io/api/v3/hubs/{subdomain}/incidents
Basic example of creating incident affecting two services.
curl -i -X POST \
'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/incidents?api_version=V3-R1' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"title": "Example incident title",
"start_time": "2025-05-02 12:34:56",
"incident_type": "investigating",
"body": "Incident body<br>with basic HTML tags.",
"service_statuses": [
{
"service_id": 17363,
"status": "degraded-performance"
},
{
"service_id": 17155,
"status": "down"
}
]
}'OK
Title of incident as visible on Hub Page.
If there is draft IncidentUpdate that changes the title, the title will not reflect this change because the draft update is not published and therefore not visible on Hub Page.
Timestamp of record creation.
ISO8601 formatted time (UTC).
Timestamp of the start_time of the first (by start_time) Incident Update.
ISO8601 formatted time (UTC).
Timestamp of last modification of record.
ISO8601 formatted time (UTC).
Timestamp of event end. If not set it means that the event has not ended yet.
ISO8601 formatted time (UTC).
{ "id": 15, "author": "string", "title": "string", "created_at": "2020-09-01T08:29:00Z", "start_time": "2020-09-01T08:29:00Z", "updated_at": "2020-09-01T08:29:00Z", "end_time": "2020-09-01T08:29:00Z", "flags": { "deleted": true, "draft": true } }