---
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'
  - `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

> 50 revisions in range; 1 could not be searched.

- **2025-08-11** `8493dd09ede1` — 3 info
  - added the optional property `settings/blockAbusiveIPs` to the response with the `200` status
  - added the optional property `settings/blockTorExitNodes` to the response with the `200` status
  - added the optional property `settings/blockedIPs` to the response with the `200` status
- **2024-09-04** `251a51c1c932` — 5 warning
  - the optional response header `X-API-Commit` removed for the status `200`
  - the optional response header `X-API-Commit` removed for the status `400`
  - the optional response header `X-API-Commit` removed for the status `401`
  - the optional response header `X-API-Commit` removed for the status `404`
  - …1 more
- **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`
- …earlier changes not shown

[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/77bbbf562f15/schema)
