---
title: "Create a new user (multi-user mode)"
method: POST
path: "/api/users"
tags: ["user"]
---

# Create a new user (multi-user mode)

`POST /api/users`

Creates a new user entry. Only meaningful when ComfyUI is running in multi-user mode.

## Headers

- `Comfy-User` string

## Request body

- object
  - `username` string, required — Username for the new user

## Response `200`

Created user ID

- string — The generated user_id

## Other responses

- `400` — Username already exists or invalid

## Changes

- **2026-04-24** `a66055fa384e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/users/post.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/2f69d843959c/schema)
