---
title: "GET /user"
method: GET
path: "/user"
tags: ["User"]
---

# GET /user

`GET /user`

Returns info about currently logged in user

## Response `200`

OK

- User
  - `id` integer
  - `email` string
  - `zid` string, nullable
  - `name` string
  - `pronouns` string
  - `gender` string
  - `degree_name` string, nullable
  - `degree_starting_year` integer, nullable
  - `role` 'User' | 'SuperUser'

## Other responses

- `307` — Redirect to login

## Changes

- **2025-07-15** `4fc8206e1afe` — 4 breaking, 2 warning, 4 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - the response property `degree_name` became nullable for the status `200`
  - the response property `degree_starting_year` became nullable for the status `200`
  - the response property `zid` became nullable for the status `200`
  - …6 more
- **2024-04-14** `5acc2e0d80e9` — 1 breaking, 2 warning, 4 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `gender` from the response with the `200` status
  - removed the optional property `pronouns` from the response with the `200` status
  - added the non-success response with the status `401`
  - …3 more

[Change history](https://skmtc.dev/devsoc-unsw/apis/chaos-api/changes/user/get.md)

---

[API](https://skmtc.dev/devsoc-unsw/apis/chaos-api.md) · [All operations](https://skmtc.dev/devsoc-unsw/apis/chaos-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devsoc-unsw/chaos-api/revisions/b169cdb125bd/schema)
