---
title: "Get the full page hierarchy for a site."
method: GET
path: "/authoring/v1/sites/{site-id}/pages"
tags: ["Authoring sites"]
---

# Get the full page hierarchy for a site.

`GET /authoring/v1/sites/{site-id}/pages`

Use this endpoint to retrieve the full page hierarchy for site. The metadata for each page will be included. This metadata includes the position of the page relative to its peers, the ID for the page content item, an optional override layout ID to use and encoded route if query parameter included=route is specified.
<br />User roles: admin, manager, editor, viewer

## Path parameters

- `site-id` string, uuid, required

## Query parameters

- `fields` string
- `include` string
- `responseFormat` string

## Response `200`

succcess.

- object — Hierachy of pages in the site
  - `items` object[]
    - `id` string — The ID of the page item.
    - `rev` string — The current revision of the document.
    - `name` string — The name of the page item.
    - `contentId` string — The ID of the page content item this item represents.
    - `contentTypeId` string — The ID of the page content type.
    - `position` string — Position relative to sibling pages giving the order of the pages. Position is an integer value starting at 0.
    - `description` string — Page description.
    - `layoutId` string — Page layout template ID.
    - `segment` string — Friendly URL segment.
    - `title` string — Page title.
    - `parentId` string — Not present if root page otherwise id of parent page
    - `classification` string — This is always `page`
    - `children` object[] — This is an array of the hierarchical child pages of this hierarchical page
    - `hideFromNavigation` boolean — This controls the visibility of the page in the site navigation menu. If set to `true` this page is hidden. If set to `true` on a parent page, it will override the corresponding flags in all descendant pages. Therefore, hiding a page will hide all its descendants in the site navigation menu.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `429` — Too Many Requests
- `default` — Unexpected error

---

[API](https://skmtc.net/goacoustic/apis/acoustic-content-api.md) · [All operations](https://skmtc.net/goacoustic/apis/acoustic-content-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goacoustic/acoustic-content-api/revisions/677305266d89/schema)
