---
title: "List place categories | Elenca categorie luoghi"
method: GET
path: "/v2/place-categories"
tags: ["Places"]
---

# List place categories | Elenca categorie luoghi

`GET /v2/place-categories`

## Request

- Base URL: `https://app.didattica.polito.it/api`
- URL: `https://app.didattica.polito.it/api/v2/place-categories`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/polito/apis/polito-faculty-api/docs/v2/place-categories/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `siteId` string

## Response `200`

The request has succeeded.

- object
  - `data` RootPlaceCategory[], required
    - `id` string, required
    - `name` string, required
    - `showInMenu` boolean
    - `color` string
    - `markerUrl` string, url
    - `priority` number: A MapBox style priority number. 0 means most important, larger numbers are less important
    - `highlighted` boolean: If true, markers of this category should be shown initially on the map
    - `subCategories` PlaceCategory[]
      - `id` string, required
      - `name` string, required
      - `showInMenu` boolean
      - `color` string
      - `markerUrl` string, url
      - `priority` number: A MapBox style priority number. 0 means most important, larger numbers are less important
      - `highlighted` boolean: If true, markers of this category should be shown initially on the map

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `500`: Server error

---

[API](https://skmtc.dev/polito/apis/polito-faculty-api.md) - [All operations](https://skmtc.dev/polito/apis/polito-faculty-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polito/apis/polito-faculty-api/revisions/c29c33e75373?raw)
