Monitor Groups API
Manage your monitor groups 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/monitor-groups
Listing all existing monitor groups
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/monitor-groups \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
get
https://betteruptime.com
/api/v2/monitor-groups/:monitor_group_id
Getting a single monitor group
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/monitor-groups/95251342 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
get
https://betteruptime.com
/api/v2/monitor-groups/:monitor_group_id/monitors
Getting all monitors of a monitor group
Example cURL
1
curl --request GET \
2
--url https://betteruptime.com/api/v2/monitor-groups/95251342/monitors \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
post
https://betteruptime.com
/api/v2/monitor-groups
Creating a new monitor group
Example cURL
1
curl --request POST \
2
--url https://betteruptime.com/api/v2/monitor-groups \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"name": "Backend services"
7
}'
Copied!
patch
https://betteruptime.com
/api/v2/monitor-groups/:monitor_group_id
Updating an existing monitor group
Example cURL — Change name only
1
curl --request PATCH \
2
--url https://betteruptime.com/api/v2/monitor-groups/95251342 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN' \
4
--header 'Content-Type: application/json' \
5
--data '{
6
"name": "Backend services 2"
7
}'
Copied!
delete
https://betteruptime.com
/api/v2/monitor-groups/:monitor_group_id
Deleting an existing monitor group
Example cURL
1
curl --request DELETE \
2
--url https://betteruptime.com/api/v2/monitor-groups/95251342 \
3
--header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!
Last modified 7mo ago