---
title: "Get User by ID"
method: GET
path: "/api/users/by-id/{id}"
tags: ["user"]
---

# Get User by ID

`GET /api/users/by-id/{id}`

## Request

- Base URL: `https://api.git.mari.zip` (the document declares no server; this is the origin it was published from)
- URL: `https://api.git.mari.zip/api/users/by-id/{id}`
- Auth: one of:
  - none
  - API key in cookie `gitarena-session`
- TypeScript: <https://skmtc.dev/mari/apis/gitarena/docs/api/users/by-id/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, uuid, required

## Response `200`

User info

- UserByIdResponse
  - `id` string, uuid, required
  - `username` string, required

## Other responses

- `404`: User not found

## Changes

- **2026-10-29** `efaeb85ac1be`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mari/apis/gitarena/changes/api/users/by-id/:id/get.md)

---

[API](https://skmtc.dev/mari/apis/gitarena.md) - [All operations](https://skmtc.dev/mari/apis/gitarena/llms.txt) - [OpenAPI document](https://skmtc.dev/mari/apis/gitarena/revisions/437eec085d26?raw)
