---
title: "Get user profile | Ottieni il profilo utente"
method: GET
path: "/auth/profile"
tags: ["Auth"]
---

# Get user profile | Ottieni il profilo utente

`GET /auth/profile`

## Request

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

## Response `200`

The request has succeeded.

- object
  - `data` AuthProfile, required
    - `username` string, required
    - `firstName` string, required
    - `lastName` string, required
    - `allUsernames` string[], required

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `500`: Server error

## Changes

- **2026-06-17** `4ad36cf4e652`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/polito/apis/polito-faculty-api/changes/auth/profile/get.md)

---

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