---
title: "Retrieve student's unread emails number | Recupera il numero di email non lette dello studente"
method: GET
path: "/unreadEmails"
tags: ["Student"]
---

# Retrieve student's unread emails number | Recupera il numero di email non lette dello studente

`GET /unreadEmails`

## Request

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

## Response `200`

The request has succeeded.

- object
  - `data` EmailBadge, required
    - `unreadEmails` string, 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-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)
