Explore documentation

Create a new status update

Returns the newly created status page report update.

POST https://uptime.betterstack.com/api/v2/status-pages/{status_page_id}/status-reports/{status_report_id}/status-updates

URL parameters

status_page_id
required string
status_report_id
required string

Headers

Authorization
required string
Content_Type
string

Body parameters

message
string
notify_subscribers
boolean
affected_resources
required array of objects
published_at
string
201

Response body

{
  "data": {
    "id": "123456",
    "type": "status_update",
    "attributes": {
      "message": "First status update message",
      "published_at": "2021-12-16T16:04:09.880Z",
      "notify_subscribers": false,
      "status_report_id": 12345,
      "affected_resources": [
        {
          "status_page_resource_id": "12345",
          "status": "degraded"
        }
      ]
    }
  }
}

Example cURL

Example
curl --request POST \
  --url https://uptime.betterstack.com/api/v2/status-pages/123456/status-reports/12345/status-updates \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "message": "First status update message",
    "affected_resources": [{"status_page_resource_id": "12345", "status": "degraded"}]
}'