---
title: "Create booking | Crea prenotazione"
method: POST
path: "/bookings"
tags: ["Bookings"]
---

# Create booking | Crea prenotazione

`POST /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/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- CreateBookingRequest
  - `slotId` integer, required
  - `seatId` integer

## Response `204`

There is no content to send for this request, but the headers may be useful.

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