---
title: "retrieve european student card | recupera la european student card"
method: GET
path: "/esc"
tags: ["Esc"]
---

# retrieve european student card | recupera la european student card

`GET /esc`

## Request

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

## Response `200`

The request has succeeded.

- object
  - `data` EuropeanStudentCard, required
    - `canBeRequested` boolean, required
    - `details` object, nullable, required
      - `status` 'active' | 'inactive' | 'expired', required
      - `inactiveStatusReason` string, nullable, required
      - `cardNumber` string, required
      - `expiresAt` string, required
      - `qrCode` 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)
