---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Creates a copy of an existing component including… Reference for the POST
    /projects/{projectId}/components/{id}/duplicate endpoint in the Leadtime
    Public API.
sidebar:
  label: Duplicate a component within the same project
  badge: POST
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.

`POST /projects/{projectId}/components/{id}/duplicate`
