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

Obtaining an API token

Adding resources to your status page

get
https://betteruptime.com
/api/v2/status-pages
Listing all existing status pages
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/status-pages \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
get
https://betteruptime.com
/api/v2/status-pages/:status_page_id
Getting a single status page
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/status-pages/123456789 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
post
https://betteruptime.com
/api/v2/status-pages
Creating a new status page
Example cURL
1
curl --request POST \
2
--url https://betteruptime.com/api/v2/status-pages \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"company_url": "https://best-company.com",
7
"company_name": "Best company",
8
"subdomain": "best-company-tokyo",
9
"timezone": "Tokyo"
10
}'
Copied!
patch
https://betteruptime.com
/api/v2/status-pages/:status_page_id
Updating an existing status page
Example cURL - Change company_name only
1
curl --request PATCH \
2
--url https://betteruptime.com/api/v2/status-pages/123456789 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"company_name": "Best company - Tokyo branch"
7
}'
Copied!
delete
https://betteruptime.com
/api/v2/status-pages/:status_page_id
Deleting an existing status page
Example cURL
1
curl --request DELETE \
2
--url https://betteruptime.com/api/v2/status-pages/123456789 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
Last modified 5mo ago