---
title: "Get lightweight admin list"
method: GET
path: "/api/admins/simple"
tags: ["Admin"]
---

# Get lightweight admin list

`GET /api/admins/simple`

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

## Query parameters

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

## Response `200`

Successful Response

- AdminsSimpleResponse — Response model for lightweight admin list.
  - `admins` AdminSimple[], required
    - `id` integer, required
    - `username` string, required
  - `total` integer, required

## Other responses

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

---

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