Skip to main content
All release notes

Incidents are writable over the public API

An API key can now change the incident itself — its title, description, severity and status, the services it affects, who is responding to it, and the labels on it — where before it could read an incident and change one thing about it, its severity.
  • PATCH /incidents/{id} takes title, description, severity and status, in any combination. Status accepts open, acknowledged, blocked, observation and resolved.
  • PUT /incidents/{id}/services replaces the whole set of services an incident is attached to in one call.
  • POST /incidents/{id}/responders/add and /responders/remove add or drop individual people and whole teams, and a team can be brought in through a specific escalation policy.
  • POST /incidents/{id}/labels/add and /labels/remove work by label name, and a name your organization does not have yet becomes a new label.
  • Incident responses — one, many, or a batch — now carry each attached service’s catalog entry: its name, its kind, its links, and the group it sits in.
Where to find it: Public API Reference, OpenAPI Spec
A PATCH needs at least one field, and sending description: null clears the description. Severity takes SEV0–SEV5 or SIGNAL, with the P0–P5 aliases also accepted. Status covers the five working states — an incident is not archived over this endpoint.Services are replaced, not merged. Send the complete set you want the incident to end up with, as internal service catalog IDs in string form ("123"). Replacing an incident’s services does not pull in those services’ responders — paging stays a responder decision.Responders. Adding someone requires an active or pending user. Removing does not, on purpose: someone who has left the organization can still be taken off an incident they are stuck on. A service or responder ID your organization does not have comes back as an error naming it, rather than being quietly skipped.Labels. Up to five per call, 30 characters each, and an incident holds five in total. A label name that does not exist yet is created in your organization’s catalog in the default color, so a caller does not have to create it first. Removal is by name as well.Every write is attributable. Each of these changes lands on the incident’s timeline as the API key that made it, the same as the writes that came before.

Fixes and improvements

  • On a Microsoft Teams organization, the Meeting and Chat tabs on an incident now show Teams icons rather than the Google Meet and Slack ones, and the meeting icon follows the platform the meeting is actually on.
  • The notification-preferences warning now appears whenever your preferences fall short of your organization’s policy, not only when the shortfall is a specific named step. Make compliant applies the policy either way.