Create status page group

Returns either a newly created status page group, or validation errors.

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

Headers

Authorization
required string
Content-Type
string

Body parameters

team_name
string
name
string
sort_index
integer
201

Response body

{
  "data": {
    "id": "1372980",
    "type": "status_page_group",
    "attributes": {
      "name": "Production Status Pages",
      "sort_index": 1,
      "created_at": "2024-11-08T10:00:00.000Z",
      "updated_at": "2024-11-08T10:00:00.000Z",
      "team_name": "Test Team"
    }
  }
}

Example cURL

Example
curl --request POST \
  --url https://uptime.betterstack.com/api/v2/status-page-groups \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Production Status Pages",
  "sort_index": 1
}'