---
title: "获取用户信息"
method: GET
path: "/api/user/{id}"
tags: ["user-api"]
---

# 获取用户信息

`GET /api/user/{id}`

## Path parameters

- `id` string, required

## Request body

- UserInfoReq
  - `id` string

## Response `200`

A successful response.

- UserInfoReply
  - `name` string
  - `age` integer
  - `birthday` string
  - `description` string
  - `tag` string[]

## Changes

- **2026-07-17** `02eb9de49433` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added
- **2021-01-01** `e7de8c26f5e0` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/zeromicro/apis/untitled-api-2/changes/api/user/:id/get.md)

---

[API](https://skmtc.dev/zeromicro/apis/untitled-api-2.md) · [All operations](https://skmtc.dev/zeromicro/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zeromicro/untitled-api-2/revisions/02eb9de49433/schema)
