Creates a new Maintenance.
Title of event.
Can contain only plain text. HTML tags and other forms of formatting are not allowed.
Timestamp of event start.
ISO8601 formatted time (UTC).
Timestamp of event end.
ISO8601 formatted time (UTC).
When true notifications are not being sent to subscribers.
Does not impact draft notifications for Team Members.
State of Maintenance event:
draft- Not published on Hub Page. Draft will result in draft notifications being sent to Team Members,published- Published on Hub Page.
When true for the duration of maintenance all Incidents and Incident Updates created through automation (API, integrations) will not be published.
Depending on configuration such Incidents will be either:
- saved as draft,
- ignored.
- Main US regionhttps://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/maintenances
- EU regionhttps://subdomain-of-your-account.app-eu1.statushub.io/api/v3/hubs/{subdomain}/maintenances
Basic example of creating maintenance affecting two services.
curl -i -X POST \
'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/maintenances?api_version=V3-R1' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"title": "Example maintenance title",
"start_time": "2025-05-02 12:34:56",
"end_time": "2025-05-02 13:34:56",
"body": "Maintenance body<br>with basic HTML tags.",
"service_statuses": [
{
"service_id": 17363,
"status": "degraded-performance"
},
{
"service_id": 17155,
"status": "down"
}
]
}'OK
Timestamp of record creation.
ISO8601 formatted time (UTC).
Title of event.
Can contain only plain text. HTML tags and other forms of formatting are not allowed.
Describes additional notifications to be sent at specific offset from maintenance start or end.
Timestamp of event start.
ISO8601 formatted time (UTC).
Timestamp of event end.
ISO8601 formatted time (UTC).
{ "id": "string", "author": "string", "created_at": "2020-09-01T08:29:00Z", "title": "Title of the event", "body": "Message for an event or event update.<br>\nMay contain basic HTML tags.\n", "event_repeat": { "interval": "day", "interval_options": { … }, "end_on": "2020-09-01T08:29:00Z" }, "event_notifications": [ { … } ], "service_statuses": [ { … } ], "start_time": "2020-09-01T08:29:00Z", "end_time": "2020-09-01T08:29:00Z", "flags": { "deleted": true, "draft": true }, "updated_at": "2020-09-01T08:29:00Z" }