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

# Get User Info

`GET /user`

Retrieve the information of the user with the matching user ID.

## Cookies

- `_me_sess` string, required

## Response `200`

User Found

- UserGet — Response body for getting a user.
  - `username` string, required
  - `settings` UserSettings, required — Response body for getting user settings.
    - `language` 'en'
    - `script_type` string[]
  - `dateCreated` integer, required
  - `dateUpdated` integer, required

## Other responses

- `400` — 400 Bad Request.
- `401` — 401 Unauthorised.
- `404` — 404 Not Found.
- `500` — 500 Unexpected Internal Server Error.

## Changes

- **2024-09-02** `bb102f2b5cf8` — 2 warning, 1 info
  - added the new `click-events` enum value to the `settings/script_type/items/` response property for the response status `200`
  - added the new `page-events` enum value to the `settings/script_type/items/` response property for the response status `200`
  - removed the `tagged-events` enum value from the `settings/script_type/items/` response property for the response status `200`
- **2024-08-12** `e134d8127bc6` — 1 breaking, 3 info
  - the `settings/script_type` response's property type changed from `string` to `array` for status `200`
  - the `script_type` response's property default value `default` was removed for the status `200`
  - removed the `default` enum value from the `settings/script_type` response property for the response status `200`
  - removed the `tagged-events` enum value from the `settings/script_type` response property for the response status `200`
- **2024-08-05** `094f87dcf6b6` — 1 breaking, 1 info
  - removed the required property `language` from the response with the `200` status
  - added the required property `settings` to the response with the `200` status
- **2024-06-30** `860d419093ef` — 2 info
  - api tag `User` added
  - api tag `user` removed
- **2024-01-12** `9d667e94e36f` — 1 breaking, 1 info
  - removed the required property `email` from the response with the `200` status
  - added the required property `username` to the response with the `200` status

[Full history](https://skmtc.dev/medama-io/apis/medama-analytics-api/changes/user/get.md)

---

[API](https://skmtc.dev/medama-io/apis/medama-analytics-api.md) · [All operations](https://skmtc.dev/medama-io/apis/medama-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/medama-io/medama-analytics-api/revisions/bb102f2b5cf8/schema)
