---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Creates a copy of an existing component… Reference for the POST
    /projects/{projectId}/components/{id}/duplicate endpoint in the Leadtime
    Public API API.
sidebar:
  badge: POST
  label: Duplicate a component within the same project
title: Duplicate a component within the same project
type: openapi-operation
---
Creates a copy of an existing component including all nested data (items, questions, todos, test cases, and conditions). The duplicated component is automatically named with "(Copy)" suffix and placed immediately after the original component in the sort order. Condition references are automatically updated to point to the new duplicated items. Triggers project configuration change tracking and recalculates conditions and timeframes.

<Operation source="api-reference" id="projectcomponentscontroller-duplicatecomponent" />
