---
title: "List accounts"
method: GET
path: "/api/v1/admin/users"
tags: ["admin"]
---

# List accounts

`GET /api/v1/admin/users`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/admin/users`
- Auth: HTTP bearer

Read-only. Admin access is granted by setting `users.is_admin` in the database; there is deliberately no endpoint that promotes a user.

## Query parameters

- `search` string, nullable
- `limit` integer

## Response `200`

Successful Response

- AdminUserRow[]
  - `user_reference_number` string, required
  - `email` string, required
  - `name` string, nullable, required
  - `is_admin` boolean, required
  - `created_at` string, required
  - `workspaces` integer, required
  - `tier` string, nullable, required

## Other responses

- `401`: Missing or invalid Supabase bearer token.
- `422`: Validation Error

---

[API](https://skmtc.dev/cadencz/apis/cadencz-api.md) · [All operations](https://skmtc.dev/cadencz/apis/cadencz-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencz/apis/cadencz-api/revisions/3392fe5e93db?raw)
