Nuxa
Api referenceWorkflowsApiWorkflowsIdDuplicate

POST /api/workflows/{id}/duplicate

POST
/api/workflows/{id}/duplicate

Authorization

sessionAuth
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Path Parameters

id*string

The id parameter

Request Body

application/json

name*string
description?string
color?string
workspaceId?string
folderId?string

Response Body

application/json

application/json

application/json

application/json

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