Nuxa
Api referenceWorkflowsApiWorkflows

POST /api/workflows

POST
/api/workflows

Authorization

sessionAuth
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

name*string
description?string
Default""
color?string
Default"#ffe1c6"
workspaceId?string
folderId?string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.nuxa.ai/api/workflows" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}