---
title: "Get list of all sites"
method: GET
path: "/authoring/v1/sites"
tags: ["Authoring sites"]
---

# Get list of all sites

`GET /authoring/v1/sites`

Returns a list of all sites. A default site with id 'default' exists out of the box.
<br />User roles: admin, manager, editor, viewer

## Query parameters

- `fields` string

## Response `200`

Success

- object — List of available sites
  - `items` object[]
    - `id` string — The ID of the site.
    - `rev` string — The current revision of the document.
    - `name` string — The name of the site.
    - `classification` string — This is always `site`
    - `lastModified` string — The last modified date of this site metadata in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only.
    - `lastModifierId` string — This is the user id of the user that modified the site metadata. This field is read only
    - `created` string — The creation date of this site metadata in ISO 8601 with the format YYYY-MM-DDTHH:mm:ss.sssZ. This field is read only
    - `creatorId` string — This is the user id of the user that created the site metadata. This field is read only.
    - `routingMode` string — The is the routing mode for the site, values are either 'anchor' or 'path'. The property controls the URL structure that is used to address individual pages within the site. With a routing mode of 'anchor' pages are addressed by URL anchors that are relative to the site root document, for example 'https://your.host/#/products'. With a routing mode of 'path' pages are addressed by URL path fragments instead of '#' anchors, for example 'https://your.host/products'. The 'path' mode is recommended for allowing external search crawlers to index the pages as separate documents.

## Other responses

- `429` — Too Many Requests, the server has reached a limit, the request must be sent again at a later time.
- `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)
