---
title: "List accounts"
method: GET
path: "/admin/accounts"
tags: ["Admin"]
---

# List accounts

`GET /admin/accounts`

List all user accounts (admin only)

## Response `200`

OK

- object
  - `items` SchemaUser[]
    - `atime` integer
    - `avatar_url` string
    - `credential` string
    - `ctime` integer
    - `email` string
    - `id` integer
    - `locked` boolean
    - `mfa_switch` integer
    - `mobile` string
    - `name` string
    - `nick_name` string
    - `role_id` integer
    - `utime` integer
    - `wx_unionid` string
  - `total` integer

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/lxpio/apis/omnigram-api.md) · [All operations](https://skmtc.net/lxpio/apis/omnigram-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lxpio/omnigram-api/revisions/58911ffb3093/schema)
