---
title: "Get a list of sites for this account"
method: GET
path: "/accounts/{account_id}/galleries/sites"
tags: ["galleries"]
---

# Get a list of sites for this account

`GET /accounts/{account_id}/galleries/sites`

## Request

- Base URL: `https://preview.api.upcontent.com`
- URL: `https://preview.api.upcontent.com/accounts/{account_id}/galleries/sites`
- Auth: OAuth 2
  - Authorization code: `https://accounts.upcontent.com/authorize`
  - Token URL: `https://accounts.upcontent.com/token` scopes: `upcontent.read`, `galleries.read`

## Response `200`

No error

- object[]: Gallery sites in the account accessible to the current user
  - `id` string: UUID of the site
  - `name` string: UUID of the site
  - `domain` string: Domain/Host of the site
  - `staging_domain` string: Staging domain/host for the site

## Other responses

- `400`: Bad request
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found

---

[API](https://skmtc.dev/upcontent/apis/upcontent-platform-api.md) - [All operations](https://skmtc.dev/upcontent/apis/upcontent-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upcontent/apis/upcontent-platform-api/revisions/2f89c14d62a9?raw)
