---
title: "Get Admins"
method: GET
path: "/api/admins"
tags: ["Admin"]
---

# Get Admins

`GET /api/admins`

Fetch a list of admins with optional filters for pagination and username.

## Query parameters

- `offset` integer, nullable
- `limit` integer, nullable
- `username` string, nullable

## Response `200`

Successful Response

- Admin[]
  - `username` string, required
  - `is_sudo` boolean, required
  - `telegram_id` integer, nullable
  - `discord_webhook` string, nullable
  - `users_usage` integer, nullable

## Other responses

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

---

[API](https://skmtc.dev/atrvatam/apis/marzbanapi.md) · [All operations](https://skmtc.dev/atrvatam/apis/marzbanapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atrvatam/marzbanapi/revisions/0aa31d6bd001/schema)
