---
title: "Get lightweight user list"
method: GET
path: "/api/users/simple"
tags: ["User"]
---

# Get lightweight user list

`GET /api/users/simple`

Returns only id and username for users. Optimized for dropdowns and autocomplete.

## Query parameters

- `ids` integer[], nullable
- `usernames` string[], nullable
- `offset` integer, nullable
- `limit` integer, nullable
- `search` string, nullable
- `sort` string, nullable
- `all` boolean

## Response `200`

Successful Response

- UsersSimpleResponse — Response model for lightweight user list.
  - `users` UserSimple[], required
    - `id` integer, required
    - `username` string, required
  - `total` integer, required

## Other responses

- `400` — BadRequest Error
- `401` — Unauthorized Error
- `403` — Forbidden Error
- `422` — Validation Error

---

[API](https://skmtc.dev/rain/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/rain/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rain/pasarguardapi/revisions/b3bebca20611/schema)
