Create a new status page section

Returns a newly created status page section.

POST https://betteruptime.com/api/v2/status-pages/{status_page_id}/sections

URL parameters

status_page_id
required string

Headers

Authorization
required string
Content_Type
string

Body parameters

name
string
position
integer
201

Response body

{
  "id": "12345",
  "type": "status_page_section",
  "attributes": {
    "name": "EU Datacenter",
    "position": 0
  }
}

Example cURL

curl --request POST \
  --url https://betteruptime.com/api/v2/status-pages/123456789/sections \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "EU Datacenter",
    "position": 0
}'
Copied!