---
title: "Get Current Admin"
method: GET
path: "/api/admin"
tags: ["Admin"]
---

# Get Current Admin

`GET /api/admin`

Retrieve the current authenticated admin.

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

---

[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)
