---
title: "List current workspace's sites"
method: GET
path: "/api/v1/sites"
tags: ["sites"]
---

# List current workspace's sites

`GET /api/v1/sites`

## Request

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

## Response `200`

Site list

- SiteListResponse
  - `sites` SiteSummary[], required
    - `subdomain` string
    - `workspaceId` string: Workspace that owns this site (API keys and sessions are workspace-scoped)
    - `title` string
    - `createdAt` integer
    - `updatedAt` integer
    - `ownerEmail` string
    - `customDomains` string[]

## Other responses

- `401`: Missing or invalid credentials

---

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