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

# 获取用户信息

`GET /api/user/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

## 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[]

---

[API](https://skmtc.dev/zeromicro/apis/go-zero-team-clients-api.md) - [All operations](https://skmtc.dev/zeromicro/apis/go-zero-team-clients-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeromicro/apis/go-zero-team-clients-api/revisions/0de9f51b198f?raw)
