List status page sections
List a status page's sections, oldest first.
The ID of the status page the status page section belongs to.
Page to return, starting at 1.
Results per page. Maximum 250.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Bearer $TOKEN
Results are paginated
Use pagination.next and pagination.prev to move through pages or jump to a specific one using page and per_page. See Pagination.
Returns the list of status page sections.
{
"data": [
{
"id": "123456789",
"type": "status_page_section",
"attributes": {
"name": "Current status by service",
"position": 0,
"status_page_id": 123
}
}
],
"pagination": {
"first": "https://incidents.betterstack.com/api/v2/status-pages/123/sections?page=1",
"last": "https://incidents.betterstack.com/api/v2/status-pages/123/sections?page=1",
"prev": null,
"next": null,
"total_count": 1
}
}
The API token is missing or invalid.
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
Your role doesn't include View the status page structure on Status pages, or the token can't be used for this API.
The status page doesn't exist, or the token can't access it.
The ID of the status page section.
Always status_page_section.
Section name.
Display order on the page, counting from 0. A position past the end lands last. Moving a section shifts only the sections between its old and new place.
The ID of the status page the section is on.
The URL of the first page of results.
The URL of the last page of results.
The URL of the previous page, or null on the first page.
The URL of the next page, or null on the last page.
How many results the whole list holds, across every page.
Example cURL