---
title: "Get a site"
method: GET
path: "/sites/{siteId}"
tags: ["Site"]
---

# Get a site

`GET /sites/{siteId}`

Get site belonging to the given id. To use optionalFields check out [this guide](../../developer-docs/apis/automation-api-rest/tutorials/using-optional-fields-in-queries).

## Path parameters

- `siteId` integer, required

## Query parameters

- `optionalFields` string[]

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `423` — Locked
- `500` — Internal Server Error

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/versions/09f2abcea0b5/schema)
