Status Page Sections API
Manage your status page sections using a simple HTTP API.
Do you need help with the integration?
Let us know at [email protected]

Obtaining an API token

get
https://betteruptime.com
/api/v2/status-pages/:status_page_id/sections
Listing existing sections of a status page
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/sections \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
get
https://betteruptime.com
/api/v2/status-pages/:status_page_id/sections/:section_id
Getting a single status page section
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/sections/12345 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
post
https://betteruptime.com
/api/v2/status-pages/:status_page_id/sections
Creating a new status page section
Example cURL
1
curl --request POST \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/sections \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"name": "EU Datacenter",
7
"position": 0
8
}'
Copied!
patch
https://betteruptime.com
/api/v2/status-pages/:status_page_id/sections/:section_id
Updating an existing status page section
Example cURL
1
curl --request PATCH \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/sections/12345 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"name": "EU datacenter 2"
7
}'
Copied!
delete
https://betteruptime.com
/api/v2/status-pages/:status_page_id/sections/:section_id
Deleting an existing status page resource
Example cURL
1
curl --request DELETE \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/sections/12345 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
Last modified 3mo ago