---
title: "Create User"
method: POST
path: "/api/admin/users"
tags: ["admin"]
---

# Create User

`POST /api/admin/users`

## Request

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

Create a new Supabase auth user with optional role flags.

## Request body

- CreateUserRequest
  - `email` string, required
  - `password` string, required
  - `is_admin` boolean
  - `is_friends_family` boolean

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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