Explore documentation

Create a new monitor group

Returns either a newly created monitor group, or validation errors.

POST https://uptime.betterstack.com/api/v2/monitor-groups

Headers

Authorization
required string
Content_Type
string

Body parameters

team_name
string
paused
boolean
name
string
sort_index
integer
201

Response body

{
  "data": {
    "id": "95251342",
    "type": "monitor_group",
    "attributes": {
      "name": "Backend services",
      "sort_index": null,
      "created_at": "2020-10-03T20:20:43.547Z",
      "updated_at": "2020-10-03T20:20:43.547Z",
      "team_name": "Test team",
      "paused": true
    }
  }
}

Example cURL

Example
curl --request POST \
  --url https://uptime.betterstack.com/api/v2/monitor-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Backend services"
}'