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

# 获取用户信息

`GET /api/user/:id`

## Request body

- UserInfoReq
  - `Id` string

## Response `200`

A successful response.

- UserInfoReply
  - `Name` string
  - `Age` integer
  - `Birthday` string
  - `Description` string
  - `Tag` string[]

## Changes

- **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/e7de8c26f5e0/schema)
