Skip to main content
POST
/
api
/
workflows
Create a new workflow
curl --request POST \
  --url https://your-instance.example.com/api/workflows \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "nodes": [
    {}
  ],
  "edges": [
    {}
  ],
  "viewport": {
    "x": 123,
    "y": 123,
    "zoom": 123
  },
  "enabled": true
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
description
string
nodes
object[]
edges
object[]
viewport
object
enabled
boolean

Response

Workflow created successfully

Generic response envelope. Endpoint-specific fields are intentionally open.