---
title: "GET /user/search"
method: GET
path: "/user/search"
tags: ["user"]
---

# GET /user/search

`GET /user/search`

Search users by username

## Query parameters

- `query` string, required

## Response `200`

Success search users

- ResGetUser
  - `users` ResGetUserObjectUser[], required
    - `userId` string, required
    - `username` string, required
    - `schoolGrade` integer, required
    - `iconUrl` string, required
    - `isGraduated` boolean, required
    - `isMember` boolean, required
    - `shortIntroduction` string, required

## Other responses

- `400` — Validation error, etc.
- `403` — Authentication error, etc.
- `500` — System error, etc.

## Changes

- **2026-03-03** `f58fee5cc6a0` — 2 info
  - added the required property `users/items/isGraduated` to the response with the `200` status
  - added the required property `users/items/isMember` to the response with the `200` status
- **2026-02-28** `425fdfb80113` — 1 info
  - added the required property `users/items/schoolGrade` to the response with the `200` status
- **2025-12-12** `ba22d164d200` — 1 info
  - endpoint added
- **2023-04-06** `f92abf0d64e8` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/sit-digicre/apis/digicore/changes/user/search/get.md)

---

[API](https://skmtc.dev/sit-digicre/apis/digicore.md) · [All operations](https://skmtc.dev/sit-digicre/apis/digicore/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sit-digicre/digicore/revisions/6576c966d74e/schema)
