---
title: "List sites"
method: GET
path: "/locations/site"
tags: ["Location"]
---

# List sites

`GET /locations/site`

List a page of sites by filter.

## Query parameters

- `page` integer
- `limit` integer
- `order` 'ASC' | 'DESC' — Sort Order
- `name` string
- `ids` integer[]

## Response `200`

OK

- PagedXiqSite
  - `page` integer, required — The current page number
  - `count` integer, required — The element count of the current page
  - `total_pages` integer, required — The total page number based on request page size
  - `total_count` integer, required — The total element count
  - `data` XiqSite[] — The data in the current page
    - `id` integer, required — The unique identifier
    - `create_time` string, date-time, required — The create time in UTC (ISO 8601 format)
    - `update_time` string, date-time, required — The last update time in UTC (ISO 8601 format)
    - `org_id` integer — The organization identifier, valid when enabling HIQ feature
    - `parent_id` integer — The parent site group ID
    - `name` string, required — The site name
    - `unique_name` string, required — The site unique name
    - `type` string, required — The location type
    - `address` XiqAddress — The address for a site or building.
      - `address` string, required — The address line 1
      - `address2` string — The address line 2
      - `city` string, required — The city/town of the address
      - `state` string — The province/state of the address
      - `postal_code` string — The postal/ZIP code of the address
    - `country_code` integer, required — The country code for the site
    - `created_by` integer — The user ID used to create the site
    - `latitude` number, double — The latitude coordinate for the site
    - `longitude` number, double — The longitude coordinate for the site

---

[API](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api.md) · [All operations](https://skmtc.net/extremecloudiq/apis/extremecloud-iq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/extremecloudiq/extremecloud-iq-api/versions/5ff7ab84e8e8/schema)
