---
title: "Get all websites for the account"
method: GET
path: "/v1/account/websites"
tags: ["Account"]
---

# Get all websites for the account

`GET /v1/account/websites`

## Request

- Base URL: `https://api.10web.io`
- URL: `https://api.10web.io/v1/account/websites`
- Auth: none declared. Required headers: `x-api-key`
- TypeScript: <https://skmtc.dev/10web/apis/10web-api-v1/docs/v1/account/websites/get.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `x-api-key` string, required

## Response `200`

List of websites for the account

- AccountWebsitesResponse
  - `data` AccountWebsite[]
    - `id` integer
    - `name` string
    - `site_url` string
    - `admin_url` string
    - `site_title` string
    - `website_hash` string
    - `type` string
    - `created_at` string
    - `updated_at` string

## Other responses

- `403`: Unauthorized access
- `429`: Too many requests
- `500`: Something went wrong

---

[API](https://skmtc.dev/10web/apis/10web-api-v1.md) - [All operations](https://skmtc.dev/10web/apis/10web-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/10web/apis/10web-api-v1/revisions/01afc9651dfc?raw)
