Status Page Resources API
Manage your status page resources 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/resources
Listing existing resources of a status page
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/resources \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
get
https://betteruptime.com
/api/v2/status-pages/:status_page_id/resources/:resource_id
Getting a single status page resource
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/resources/12345 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
post
https://betteruptime.com
/api/v2/status-pages/:status_page_id/resources
Creating a new status page resource
Example cURL
1
curl --request POST \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/resources \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"resource_id": "112233",
7
"resource_type": "Monitor",
8
"public_name": "The best monitor",
9
"explanation": "Hide easter eggs here",
10
"history": false,
11
"position": 0
12
}'
Copied!
patch
https://betteruptime.com
/api/v2/status-pages/:status_page_id/resources/:resource_id
Updating an existing status page resource
Example cURL
1
curl --request PATCH \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/resources/12345 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"public_name": "My great monitor, updated"
7
}'
Copied!
delete
https://betteruptime.com
/api/v2/status-pages/:status_page_id/resources/:resource_id
Deleting an existing status page resource
Example cURL
1
curl --request DELETE \
2
--url https://betteruptime.com/api/v2/status-pages/123456789/resources/12345 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
Last modified 5mo ago