---
title: "Create Workflow"
method: POST
path: "/api/hub/workflows"
tags: ["Workflows"]
---

# Create Workflow

`POST /api/hub/workflows`

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/hub/workflows`
- Auth: HTTP bearer

Create a new workflow with nodes, edges, and configuration.

## Request body

- object
  - `tags` string[]
  - `edges` unknown[], required: Array of edge connections
    - unknown
  - `nodes` unknown[], required: Array of node definitions
    - unknown
  - `title` string, required: Workflow title
  - `viewport` object: Canvas viewport settings
  - `is_public` boolean
  - `description` string: Workflow description

## Response `200`

Successful response

- object
  - `success` boolean
  - `data` object

---

[API](https://skmtc.dev/flowdot/apis/flowdot-api.md) · [All operations](https://skmtc.dev/flowdot/apis/flowdot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flowdot/apis/flowdot-api/revisions/93f63cc9c775?raw)
