Skip to content
bynhDocs

Post an incident update

POST/workspaces/{workspace}/status/incidents/{incident}/updates

Adds an update to the timeline and moves the incident to that stage. Resolving closes it; any other stage reopens a resolved incident.

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_•••••••Header

Path parameters

  • workspacestringRequired

    Your workspace slug, e.g. dokan.

  • incidentintegerRequired

    Incident id.

Request body

application/json
  • statusenumRequired

    New stage. One of investigating, identified, monitoring, resolved.

  • bodystringRequiredmax 5000

    Trimmed.

Response

201 Created

Incident with updates.

  • idintegerIncident id.
  • titlestringTitle.
  • statusenumCurrent stage. One of investigating, identified, monitoring, resolved.
  • status_labelstringLocalized.
  • impactenumWorst impact across its components. One of operational, maintenance, degraded, partial_outage, major_outage.
  • impact_labelstringLocalized.
  • sourceenumautomatic: opened by a monitor. One of manual, 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 and its own limit of 30 an hour. Its own limit answers 429 without Retry-After; wait and try again.

Errors

401The token is missing, wrong, revoked or expired.
403The token is read-only (message: “This token is read-only. Create a read and write token to make changes.”). Or: The token’s owner is a viewer (“Viewers can read everything but can’t change it.”), or the workspace’s editing is paused (a billing message, e.g. “Your trial has ended, so editing is paused. …”).
404The token belongs to another workspace, or its owner is no longer a member.
422Missing status or body.
429status-notify limit (30/hour).

Every error is JSON with a message. See Errors.

Next →List maintenance
curl -X POST "https://api.bynh.io/api/v1/workspaces/dokan/status/incidents/1/updates" \
  -H "Authorization: Bearer $BYNH_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "identified",
    "body": "A payment provider is responding slowly. We’ve moved traffic to the backup route."
  }'

Response201 Created

application/json
{
  "data": {
    "id": 19,
    "title": "Checkout is slow",
    "status": "identified",
    "status_label": "Identified",
    "impact": "degraded",
    "impact_label": "Degraded",
    "source": "manual",
    "draft": false,
    "notify_subscribers": true,
    "started_at": "2026-10-01T06:40:00+00:00",
    "published_at": "2026-10-01T06:41:12+00:00",
    "resolved_at": null,
    "duration_minutes": 80,
    "monitor": null,
    "components": [
      {
        "id": 2,
        "name": "Checkout",
        "impact": "degraded",
        "impact_label": "Degraded"
      }
    ],
    "updates_count": 2,
    "updates": [
      {
        "id": 51,
        "status": "investigating",
        "status_label": "Investigating",
        "body": "Some card payments are taking longer than usual. We’re looking into it.",
        "author": "Sara Alqahtani",
        "notified_at": "2026-10-01T06:41:20+00:00",
        "created_at": "2026-10-01T06:41:12+00:00"
      },
      {
        "id": 52,
        "status": "identified",
        "status_label": "Identified",
        "body": "A payment provider is responding slowly. We’ve moved traffic to the backup route.",
        "author": "Sara Alqahtani",
        "notified_at": "2026-10-01T07:05:03+00:00",
        "created_at": "2026-10-01T07:05:00+00:00"
      }
    ]
  }
}

Examples use Dokan, a sample workspace. Responses are shortened where lists are long.