---
title: "Get a site by ID"
method: GET
path: "/locations/site/{id}"
tags: ["Location"]
---

# Get a site by ID

`GET /locations/site/{id}`

Get a site for the specified ID.

## Path parameters

- `id` integer, required

## Response `200`

OK

- XiqSite — The site location information.
  - `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)
