---
title: "List Websites"
method: GET
path: "/websites"
tags: ["Website"]
---

# List Websites

`GET /websites`

Get a list of all websites from the user.

## Query parameters

- `summary` boolean

## Cookies

- `_me_sess` string, required

## Response `200`

Returns a list of websites.

- WebsiteGet[]
  - `hostname` string, hostname, required
  - `summary` object
    - `visitors` integer, required

## Other responses

- `400` — 400 Bad Request.
- `401` — 401 Unauthorised.
- `404` — 404 Not Found.
- `500` — 500 Unexpected Internal Server Error.

## Changes

- **2024-09-04** `251a51c1c932` — 5 warning
  - the optional response header `X-API-Commit` removed for the status `200`
  - the optional response header `X-API-Commit` removed for the status `400`
  - the optional response header `X-API-Commit` removed for the status `401`
  - the optional response header `X-API-Commit` removed for the status `404`
  - …1 more
- **2024-06-30** `860d419093ef` — 2 info
  - api tag `Website` added
  - api tag `website` removed
- **2024-06-16** `03c8589a7dfd` — 1 breaking, 2 info
  - removed the required property `items/name` from the response with the `200` status
  - added the new optional `query` request parameter `summary`
  - added the optional property `items/summary` to the response with the `200` status
- **2023-11-26** `b173cabb315f` — 7 warning, 3 info
  - the optional response header `X-Api-Commit` removed for the status `200`
  - the optional response header `X-Api-Commit` removed for the status `400`
  - the optional response header `X-Api-Commit` removed for the status `401`
  - the optional response header `X-Api-Commit` removed for the status `404`
  - …6 more

[Change history](https://skmtc.dev/medama-io/apis/medama-analytics-api/changes/websites/get.md)

---

[API](https://skmtc.dev/medama-io/apis/medama-analytics-api.md) · [All operations](https://skmtc.dev/medama-io/apis/medama-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/medama-io/medama-analytics-api/revisions/77bbbf562f15/schema)
