Explore documentation

Create a new status page section

Returns a newly created status page section.

POST https://uptime.betterstack.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

Example
curl --request POST \
  --url https://uptime.betterstack.com/api/v2/status-pages/123456789/sections \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "EU Datacenter",
    "position": 0
}'