Update an incident
/workspaces/{workspace}/status/incidents/{incident}Changes the title, affected components or whether subscribers are emailed. Send publish: true to post a draft. To move it through its stages, post an update instead.
Authentication
Send an API token as a bearer token. This endpoint needs a read and write token, made by an editor, admin or owner. Create one in My account → API tokens; see scopes and roles.
Authorization: Bearer 42|bynh_pat_•••••••HeaderPath parameters
workspacestringRequiredYour workspace slug, e.g. dokan.
incidentintegerRequiredIncident id.
Request body
application/jsontitlestringmax 160Title.
componentsstringRequiredmax 50id: a component of this workspace (distinct). impact: degraded, partial_outage or major_outage. Sending it on update replaces the set.
notifybooleanEmail subscribers.
publishbooleantrue posts a draft; ignored if already posted; false does not unpost.
Response
200 OKIncident with updates.
idintegerIncident id.titlestringTitle.statusenumCurrent stage. One ofinvestigating,identified,monitoring,resolved.status_labelstringLocalized.impactenumWorst impact across its components. One ofoperational,maintenance,degraded,partial_outage,major_outage.impact_labelstringLocalized.sourceenumautomatic: opened by a monitor. One ofmanual,automatic.draftbooleanNot yet posted (published_at is null).notify_subscribersbooleanSubscribers get emails for it.started_atstringISO 8601.published_atstring|nullISO 8601.resolved_atstring|nullISO 8601.duration_minutesintegerAt least 1; counts to now while open.monitor{id, name}|nullMonitor that opened it.components[]{id, name, impact, impact_label}Affected components.updates_countinteger|nullNumber of updates.updates[]objectid, status, status_label, body, author (name|null), notified_at, created_at. Empty in lists.
Rate limits
This endpoint counts toward your general limit of 120 requests a minute. When you go over, wait for the number of seconds in Retry-After.
Errors
Every error is JSON with a message. See Errors.