Create a status report

Publish an incident or scheduled maintenance report on a status page. Give it a title, the affected_resources and their status, and for maintenance a starts_at and ends_at window. The first status update is created from the same request.

POST https://incidents.betterstack.com/api/v2/status-pages/{status_page_id}/status-reports
status_page_id string required

The ID of the status page the status report belongs to.

team_id string

Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.

Authorization string required

Bearer $TOKEN

Content-Type string

application/json

title string required

Report title.

message string required

Text of the report's first status update.

report_type string default: manual

Type of report. Can't be changed after create.
Valid values:
manual: A report you write and update yourself.
maintenance: A report of planned maintenance between starts_at and ends_at.
automatic: A report opened automatically when a resource went down. You can't create one with the API.

starts_at datetime

When the report starts. For a maintenance report, when the maintenance window starts. For any other report, the published_at of its first status update. Defaults to now on create. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

ends_at datetime or null

When the report ends, or null when it has no end time. A maintenance report always has one, no earlier than starts_at. A manual report has no end time, so this has no effect on one. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

affected_resources array of objects

Affected resources and their current states. The status is resolved, degraded or downtime on a manual report, or maintenance on a maintenance report. A new manual report has at least one.

affected_resources[].status_page_resource_id string

The ID of the status page resource, from List status page resources.

affected_resources[].status string

The resource's status, resolved, degraded, downtime or maintenance.

published_at datetime

When the first status update is published. Defaults to now. For a maintenance report, it's always starts_at. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

notify_subscribers boolean default: true

Whether to notify subscribers of the first status update. Subscribers aren't notified about a maintenance report whose window is already over.

201 Created
{
  "data": {
    "id": "123456789",
    "type": "status_report",
    "attributes": {
      "status_page_id": 123456,
      "title": "Status report title",
      "report_type": "manual",
      "starts_at": "2021-12-17T11:00:00.000Z",
      "ends_at": "2021-12-17T12:00:00.000Z",
      "affected_resources": [
        {
          "status_page_resource_id": "12345",
          "status": "downtime"
        }
      ],
      "aggregate_state": "downtime"
    },
    "relationships": {
      "status_updates": {
        "data": [
          {
            "id": "12345",
            "type": "status_update"
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": "12345",
      "type": "status_update",
      "attributes": {
        "status_report_id": 12345,
        "message": "Status update message",
        "affected_resources": [
          {
            "status_page_resource_id": "12345",
            "status": "downtime"
          }
        ],
        "published_at": "2021-12-17T11:00:00.000Z",
        "published_at_timezone": "UTC",
        "notify_subscribers": false
      }
    }
  ]
}

Returns the newly created status report.

id string

The ID of the status report.

type string

Always status_report.

status_page_id integer

Status page this report belongs to.

title string

Report title.

report_type string

Type of report. Can't be changed after create.
Valid values:
manual: A report you write and update yourself.
maintenance: A report of planned maintenance between starts_at and ends_at.
automatic: A report opened automatically when a resource went down. You can't create one with the API.

starts_at datetime

When the report starts. For a maintenance report, when the maintenance window starts. For any other report, the published_at of its first status update. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

ends_at datetime or null

When the report ends, or null when it has no end time. A maintenance report always has one, no earlier than starts_at. A manual report has no end time, so this has no effect on one. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

affected_resources array of objects

Affected resources and their current states. The status is resolved, degraded or downtime on a manual report, or maintenance on a maintenance report. A new manual report has at least one.

affected_resources[].status_page_resource_id string

The ID of the status page resource, from List status page resources.

affected_resources[].status string

The resource's status, resolved, degraded, downtime or maintenance.

aggregate_state string

Overall state of the report.
Valid values:
resolved: Every resource the report covers is back to normal.
degraded: A resource the report covers is degraded and none is down.
downtime: A resource the report covers is down.
maintenance: The resources the report covers are under maintenance.

relationships.status_updates.data array

Status updates posted to this report. Get, create and update also return each update in full under included, as Get a status update returns it, while listing reports returns only their ids. On a maintenance report, each update's affected_resources is empty.

relationships.status_updates.data[].id string

ID of the linked status update.

relationships.status_updates.data[].type string

Always status_update.

included array

Each linked status update, with its id, type and attributes.

included[].id string

ID of the linked status update.

included[].type string

Always status_update.

included[].attributes object

For a status_update record, the status update's attributes, the same as getting the status update returns.

Example cURL

Manual status report Maintenance
curl --request POST \
  --url https://incidents.betterstack.com/api/v2/status-pages/123456/status-reports \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "title": "Status report title",
  "message": "Status update message",
  "report_type": "manual",
  "affected_resources": [
    {
      "status_page_resource_id": "12345",
      "status": "downtime"
    }
  ]
}'
curl --request POST \
  --url https://incidents.betterstack.com/api/v2/status-pages/123456/status-reports \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "title": "Maintenance title",
  "message": "Maintenance message",
  "report_type": "maintenance",
  "starts_at": "2027-01-10T02:00:00Z",
  "ends_at": "2027-01-10T04:00:00Z",
  "affected_resources": [
    {
      "status_page_resource_id": "12345",
      "status": "maintenance"
    }
  ]
}'