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

# POST /api/users

`POST /api/users`

## Request

- Base URL: `http://localhost:5002`
- URL: `http://localhost:5002/api/users`
- Auth: none declared

## Request body

- Model39
  - `email` string, required
  - `password` string, required
  - `name` string, required
  - `type` 'user' | 'admin', required
  - `status` 'approved' | 'pending', required
  - `avatar` string
  - `referred_by` string

## Response `default`

Successful

---

[API](https://skmtc.dev/breshna/apis/breshna-backend-apis.md) - [All operations](https://skmtc.dev/breshna/apis/breshna-backend-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/breshna/apis/breshna-backend-apis/revisions/c1038f1781fe?raw)
