---
title: "Create a new cloud workflow"
method: POST
path: "/api/workflows"
tags: ["workflows"]
---

# Create a new cloud workflow

`POST /api/workflows`

[cloud-only] Creates a new cloud workflow with the provided name and optional initial content.

## Request body

- object
  - `name` string, required — Workflow name
  - `description` string — Workflow description
  - `content` object — Initial workflow graph JSON

## Response `201`

Workflow created

- CloudWorkflow — [cloud-only] A cloud-managed workflow with version history.
  - `id` string, uuid, required
  - `name` string, required
  - `description` string
  - `share_id` string, nullable — Public share identifier if published
  - `latest_version_id` string, uuid, nullable
  - `thumbnail_url` string, uri, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `422` — Validation error
- `500` — Internal server error

## Changes

- **2026-05-22** `09a5075587c8` — 3 info
  - api operation id `createCloudWorkflow` removed and replaced with `createWorkflow`
  - added the non-success response with the status `422`
  - added the non-success response with the status `500`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added
- **2026-04-24** `a66055fa384e` — 1 breaking
  - api path removed without deprecation

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