---
title: "Book exam | Prenota esame"
method: POST
path: "/exams/{examId}/booking"
tags: ["Exams"]
---

# Book exam | Prenota esame

`POST /exams/{examId}/booking`

## Request

- Base URL: `https://app.didattica.polito.it/api`
- URL: `https://app.didattica.polito.it/api/exams/{examId}/booking`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/polito/apis/polito-students-api/docs/exams/:examId/booking/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `examId` integer, required

## Request body

- BookExamRequest
  - `courseShortcode` string, required
  - `questionId` integer
  - `questionOption` integer
  - `requestReason` string

## 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-students-api.md) - [All operations](https://skmtc.dev/polito/apis/polito-students-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polito/apis/polito-students-api/revisions/9d87728aaa56?raw)
