For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Version History

This page describes changes made to the API and potential migration strategies if required.

In general

We treat the API as first class part of our product and are looking forward to any customer or partner that decides to integrate with us, which is why we are taking API versioning and preventing breaks or interruptions very seriously.

We try to prevent breaking changes for our API, however sometimes these are necessary in an evolving world and product space.

We consider the following changes to be backwards-compatible:

  • Adding new API resources

  • Adding new optional request parameters to existing API methods

  • Adding new properties to existing API responses

  • Changing the order of properties in existing API responses

Notable changes

Support hours coverage as ranges

In October 2026 support hours gained supportWindows, so coverage can run past midnight, cover a weekend in one piece, or hold several windows on the same day. It is a list of ranges on the week, each covering from up to to:

{
  "supportWindows": [
    { "from": { "dayOfWeek": "FRIDAY", "time": "17:00" }, "to": { "dayOfWeek": "MONDAY", "time": "09:00" } }
  ]
}

A to at or before its from wraps past Sunday midnight, and a from equal to its to is the whole week. Times are whole minutes (HH:mm); a time carrying nonzero seconds is rejected.

supportDays keeps its shape, so nothing breaks. What changes for a client that reads or writes it:

  • Reading. Once coverage is no longer one window per day, supportDays is a lossy view of it: each day reports the earliest part of its coverage, an end at midnight reads 23:59, and time nobody covers is never named. Read supportWindows where it is present — responses omit it whenever supportDays describes the coverage exactly, which is the case for every support hour that predates this change.

  • Every write carries the coverage. Creating or updating a support hour must send supportWindows or supportDays. A body with neither is rejected with 400 rather than read as a request to clear the coverage. An alert source that references an existing support hour sends supportHours.id alone and needs neither field.

  • Writing supportWindows. A non-null supportWindows is the whole weekly coverage: it replaces what is stored, [] clears it, and ranges that overlap or touch are merged. supportDays may be sent alongside it only as the per-day view of those same ranges, as a client echoing back what it read would. A supportDays that describes different coverage is rejected with 400.

  • Writing supportDays alone. An update whose supportDays equals the current view keeps the stored coverage instead of flattening it. That is what lets a client which only knows supportDays, such as the Terraform provider before version 2.29.0, rename a support hour or move it to another timezone without destroying ranges it cannot see. A supportDays that differs replaces the coverage as long as the stored coverage is one window per day. When it is not, the update is rejected with 400, because rebuilding the week from a lossy view would silently drop what that view cannot express. Change such coverage with supportWindows.

  • Alert sources keep one window per day in their inline supportHours object. Sending a non-null supportWindows there is rejected; coverage across midnight belongs to a support hour of its own, referenced by supportHours.id.

GET /api/support-hours and GET /api/support-hours/{id} also answer whether a support hour covers this moment, with include=currentStatus: currentStatus is DURING or OUTSIDE, and currentStatusUntil is the local date-time in the support hour's own timezone at which that changes, or null when no change is in sight.

Support hours becoming a real resource

In November 2023 we changed the inline support hours object of alert sources to a referenced sub resource. This introduces the new /api/support-hours CRUD resource, as well as a new field in alertSource.supportHours.id. If the ID field is present, the API will treat it as a reference, if it is not, the API will fallback to the legacy behaviour and allow nesting the fields into the alert source.

Moving user's notification preferences into stand-alone resources

In February 2023 we introduced a new management for user contacts and notification preferences. A specific explanation of this change as well as migration information can be found here.

Dropping URL versions globally

While renaming incidents to alerts in October 2021 we dediced that the best way to migrate the API to the new resources and fields was to introduce a new API version, however continuing further we did not want to stick to versioning through url paths in favor of developer experience. Which is why we decided to migrate the new resources away from the version path.

What did we do to keep backwards compatibility?

All old resources running on /v1/... are still available. Meaning the new resource and fields that are now available under e.g. /api/alert-sources are still available in their old format under /api/v1/alert-sources.

Which migration strategy do we suggest?

Integrations that have been developed using the old API version do not have to be migrated, the v1 resources are still available. When developing new integrations however, make sure to use the new resources - which is also why we have removed any old endpoint from our API documentation.

Renaming incidents to alerts

In September 2021 we announced that we would rename incidents to alerts. Explaining that incidents would be reborn as new entity for the next big product extension incident communication v2 and status pages. Of course this also required us to change the API resources. /api/1/incidents became /api/alerts and /api/incidents will hold the new entity.

What did we do to keep backwards compatibility?

The old incident endpoints /api/v1/incidents is still available and delivers the old/new incident/alert objects.

Which migration strategy do we suggest?

Integrations that have been developed using the old API version to not have to be migrated, the v1 resources are still available. When developing new integrations however, make sure to use the new resources. Please also note: that for the new API (all resources without url versioning) the entities might contain changed field names e.g. AlertSource.incidentCreation => AlertSource.alertCreation a few fields were subject to this change our API docs are already reflecting this change, you can find them below.

Entity
Old key / value
New key / value

User

subscribedIncidentUpdateStates

subscribedAlertUpdateStates

User

subscribedIncidentUpdateNotificationTypes

subscribedAlertUpdateNotificationTypes

Connection

triggerTypes

All values e.g. incident-created have been renamed accordingly e.g. alert-created

UptimeMonitor

createIncidentAfterFailedChecks

createAlertAfterFailedChecks

AlertSource

incidentCreation

alertCreation

AlertSource

incidentPriorityRule

alertPriorityRule

AlertSource.supportHours

autoRaiseIncidents

autoRaiseAlerts

Incident -> Alert

incidentKey

alertKey

Notification

incidentId

alertId

LogEntry

incidentId

alertId

LogEntry

logEntryType

All values e.g. IncidentLogEntry have been renamed accordingly e.g. AlertLogEntry

Event

incidentKey

alertKey

Renaming connections to alert-actions

In favor of developer experience we decided to migrate /api/v1/connections to /api/alert-actions alongside our general version dropping migration. The old endpoint is still available.

Removing XML support

In June 2020 we decided to deprecate XML support for request and response schemas, as JSON was widely preferered by our customers. We began removing support from older /v1/... endpoints in August 2020. XML is not supported in new url version-less resources as of 2021.

What did we do to keep backwards compatibility?

Resources containing v1 in their url that were receiving XML traffic were kept available.

Which migration strategy do we suggest?

We suggest to send the accept: application/json header and providing content-type: application/json while switching your clients to JSON processing.

Last updated

Was this helpful?