---
title: "Retrieves a list of site types"
method: GET
path: "/site-type"
tags: ["Site Type"]
---

# Retrieves a list of site types

`GET /site-type`

## Query parameters

- `page` integer
- `items_per_page` integer
- `name` string
- `_id` string
- `sortBy` string[]

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string

## Response `200`

The list of site types

- object[]
  - `_id` string, required — The site type id
  - `name` string, required — The site type name

## Other responses

- `204` — No Content. There were no records to return based on your query.
- `400` — Validation errors
- `401` — Failed to authenticate the user making the request
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
