API reference
POSTRequires Bearer token
Duplicate a workflow model
/api/workflows/models/{model}/duplicate
Clones the draft with its steps (no graph edges).
Path parameters
| Field | Type | Description |
|---|---|---|
model Required | string | Path parameter model. |
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
name | string | Optional name for the clone. e.g. "Account opening (copy)" |
Responses
| Status | Meaning |
|---|---|
| 201 | Duplicated |
| 401 | Missing or invalid Bearer token. |