---
title: "List your sites"
method: GET
path: "/sites"
tags: ["Sites"]
---

# List your sites

`GET /sites`

## Request

- Base URL: `https://api.opentools.com`
- URL: `https://api.opentools.com/sites`
- Auth: HTTP bearer

The sites of the organization the key belongs to, oldest first. Their ids are what `/analytics` and `/sessions` take.

## Response `200`

The sites.

- object
  - `sites` Site[], required
    - `id` string, required: The site id on the script tag (`data-site`).
    - `name` string, required
    - `domains` string[], required: Where the tag is meant to be installed; informational.
    - `disabled` boolean, required: A disabled site records nothing new; what it recorded stays readable.
    - `created` string, date-time, required

## Other responses

- `401`: The `Authorization` header is missing, or its key is unknown or revoked.
- `429`: The key made more than 600 requests this minute.
- `503`: The key or the site couldn't be checked just now. Nothing is wrong with the request; retry it shortly.

---

[API](https://skmtc.dev/opentools/apis/opentools-js-api-reference.md) - [All operations](https://skmtc.dev/opentools/apis/opentools-js-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/opentools/apis/opentools-js-api-reference/revisions/ab1463b57d31?raw)
