---
title: "Create user"
method: POST
path: "/user"
tags: ["user"]
---

# Create user

`POST /user`

## Request

- Base URL: `/v3` (relative, and the document’s source URL is not known)
- URL: `/v3/user`
- Auth: none declared

This can only be done by the logged in user.

## Request body

- User
  - `id` integer
  - `username` string
  - `firstName` string
  - `lastName` string
  - `email` string
  - `password` string
  - `phone` string
  - `userStatus` integer: User Status

## Response `default`

successful operation

- User
  - `id` integer
  - `username` string
  - `firstName` string
  - `lastName` string
  - `email` string
  - `password` string
  - `phone` string
  - `userStatus` integer: User Status

---

[API](https://skmtc.dev/lightcast/apis/swagger-petstore-openapi-3-0.md) - [All operations](https://skmtc.dev/lightcast/apis/swagger-petstore-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/lightcast/apis/swagger-petstore-openapi-3-0/revisions/4f1f6cb5a0cb?raw)
