---
title: "Copy a workflow scheme"
method: POST
path: "/api/v1/workflow/schemes/{schemeId}/copy"
tags: ["Workflow"]
---

# Copy a workflow scheme

`POST /api/v1/workflow/schemes/{schemeId}/copy`

Copy a [workflow scheme](https://www.dotcms.com/docs/latest/managing-workflows#Schemes).

 A name for the new scheme may be provided either by parameter or by POST body property; if no name is supplied, the name will be that of the copied workflow scheme with the current Unix epoch timestamp integer appended.

Returns copied workflow scheme on success.

## Path parameters

- `schemeId` string, required

## Query parameters

- `name` string

## Request body

- WorkflowCopyForm
  - `name` string

## Response `200`

Copied workflow scheme successfully

- ResponseEntityWorkflowSchemeView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` WorkflowScheme
    - `id` string
    - `creationDate` string, date-time
    - `name` string
    - `variableName` string
    - `description` string
    - `archived` boolean
    - `mandatory` boolean
    - `defaultScheme` boolean
    - `modDate` string, date-time
    - `entryActionId` string
    - `system` boolean
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request
- `401` — Invalid User
- `403` — Forbidden
- `404` — Workflow scheme not found
- `406` — Not Acceptable
- `415` — Unsupported Media Type
- `500` — Internal Server Error

---

[API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/anzworldline-solutions/dotcms-rest-api/revisions/0f38cbc3bd36/schema)
