---
title: 'Get websites'
description: 'Returns a list of websites. Includes optional query parameters for filtering and pagination.'
openapi: GET /api/websites
---

> **For AI agents:** the complete documentation index is at [llms.txt](https://docs.snagsolutions.io/llms.txt). Append `.md` to any page URL for its markdown version.

`GET /api/websites` — query parameters: `startingAfter`, `limit`, `organizationId`, `name`

`GET https://admin.snagsolutions.io/api/websites`

Returns a list of websites. Includes optional query parameters for filtering and pagination.

## Authentication

- `apiKeyAuth` — apiKey in header: `X-API-KEY`

## Query parameters

- `startingAfter` (string) — Pagination cursor, start after this ID
- `limit` (integer) — Number of items to return
- `organizationId` (string) — Filter by organization ID
- `name` (string) — Filter by name

## Response 200

200
  - response (object) — Response schema for fetching websites
    - `data` (array, required) — Array of websites
      - `items` (object) — Schema representing a website
        - `id` (string, uuid, required) — Website ID
        - `name` (string, required) — Website name
    - `hasNextPage` (boolean, required) — Indicates if more pages are available

## Response 403

403
  - response (object) — Schema for forbidden response
    - `message` (string, required) — Error message

## Response 500

500
  - response (object) — Schema for internal server error response
    - `success` (boolean, required) — Indicates operation success
    - `message` (string, required) — Error message
    - `debugInfo` (string) — Optional debug information


---

📦 **OpenAPI specs:** Every OpenAPI specification referenced by this documentation is available as a single download — https://docs.snagsolutions.io/api-specs.zip
