V3 Workflows
Duplicate a workflow
Creates a new draft workflow by copying an existing workflow's definition, name (or the provided override), and description. The duplicate receives its own id and timestamps and starts with empty run and version history; the source workflow is unchanged. Archived workflows can be duplicated (the copy starts as a normal draft).
post/api/v3/workflows/{workflowId}/duplicate
Path parameters
workflowIdstring cuid2 required
Workflow identifier.
Request body
Response
Workflow duplicated successfully