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

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",
      "paused": true
    }
  }
}

Example cURL

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