# List status page groups

Returns a list of all your status page groups. This endpoint [supports pagination](https://betterstack.com/docs/uptime/api/pagination/).

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/status-page-groups"
method = "GET"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns a list of existing status page groups.'''
body = '''{
  "data": [
    {
      "id": "1372854",
      "type": "status_page_group",
      "attributes": {
        "name": "Testing group",
        "created_at": "2024-11-07T11:33:24.408Z",
        "updated_at": "2024-11-07T11:33:24.408Z",
        "sort_index": null
      }
    },
    {
      "id": "1372963",
      "type": "status_page_group",
      "attributes": {
        "name": "Testing group 2",
        "created_at": "2024-11-07T12:40:52.278Z",
        "updated_at": "2024-11-07T12:40:52.278Z",
        "sort_index": null
      }
    },
    {
      "id": "1372965",
      "type": "status_page_group",
      "attributes": {
        "name": "Testing group 3",
        "created_at": "2024-11-07T12:42:52.369Z",
        "updated_at": "2024-11-07T12:42:52.369Z",
        "sort_index": null
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v2/status-page-groups?page=1",
    "last": "https://uptime.betterstack.com/api/v2/status-page-groups?page=1",
    "prev": null,
    "next": null
  }
}'''
[/responses]

#### Example cURL

```shell
[label Example]
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/status-page-groups \
  --header "Authorization: Bearer $TOKEN"
```

[info]
#### Looking for the details of a specific parameter?
Explore [the list of all Status Page Group API parameters](https://betterstack.com/docs/uptime/api/status-page-groups-response-params/).
[/info]
