---
title: "List bookings | Elenca prenotazioni"
method: GET
path: "/bookings"
tags: ["Bookings"]
---

# List bookings | Elenca prenotazioni

`GET /bookings`

## Request

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

## Response `200`

The request has succeeded.

- object
  - `data` Booking[], required
    - `id` integer, required
    - `description` string, required
    - `topic` BookingTopicOverview, required
      - `id` string, required
      - `title` string, required
      - `description` string, required
    - `subtopic` BookingTopicOverview, required
      - `id` string, required
      - `title` string, required
      - `description` string, required
    - `startsAt` string, date-time, required
    - `endsAt` string, date-time, required
    - `seat` object, nullable, required
      - `id` integer
      - `row` string
      - `column` string
    - `cancelableUntil` string, date-time, required
    - `location` union, required
      - PlaceRef
        - `buildingId` string, required
        - `floorId` string, required
        - `roomId` string, required
        - `siteId` string, required
        - `name` string, required
      - object
        - `name` string, required
        - `url` string, required
    - `locationCheck` BookingLocationCheck
      - `enabled` boolean, required
      - `checked` boolean, required
      - `latitude` string, nullable, required
      - `longitude` string, nullable, required
      - `radiusInKm` number, nullable, required

## 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)
