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

# List accessible sites

`GET /api/sites`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/sites`
- Auth: one of:
  - API key in cookie `hk_token`
  - HTTP bearer
  - API key in header `X-API-Key`

Lists sites visible to caller (session or API key scope).

## Response `200`

Sites

- Site[]
  - `created_at` string, date-time
  - `data_retention_days` integer
  - `domain` string
  - `id` string, uuid
  - `user_id` string, uuid

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
