---
title: "Create a new workspace"
method: POST
path: "/api/workspaces"
tags: ["workspace"]
---

# Create a new workspace

`POST /api/workspaces`

[cloud-only] Creates a new workspace. The authenticated user becomes the owner.

## Request body

- object
  - `name` string, required — Workspace name

## Response `201`

Workspace created

- Workspace — [cloud-only] A cloud workspace for team collaboration.
  - `id` string, required
  - `name` string, required
  - `owner_id` string
  - `member_count` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorized

## Changes

- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/workspaces/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/c9640fded659/schema)
