# List status page sections

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

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/status-pages/{status_page_id}/sections"
method = "GET"

[[path_param]]
name = "status_page_id"
description = "The ID of your status page."
required = true
type = "string"

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

[responses]
[[response]]
status = 200
description = '''Returns a list of the sections of your status page'''
body = '''{
  "data": [
    {
      "id": "12345",
      "type": "status_page_section",
      "attributes": {
        "name": "Current status by service",
        "position": 0,
        "status_page_id": 123456789
      }
    },
    {
      "id": "12345",
      "type": "status_page_section",
      "attributes": {
        "name": "EU datacenter",
        "position": 1,
        "status_page_id": 123456789
      }
    }
  ],
  "pagination": {
    "first": "https://uptime.betterstack.com/api/v2/status-pages/123456789/sections?page=1",
    "last": "https://uptime.betterstack.com/api/v2/status-pages/123456789/sections?page=1",
    "prev": null,
    "next": null
  }
}'''
[/responses]

#### Example cURL 

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

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