Duplicate a component within the same project
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.
/projects/{projectId}/components/{id}/duplicateAuthorizationOAuth2 access token · headerrequiredapi:writeAuthorizationBearer token (JWT) · headerrequiredprojectIdstringrequiredProject UUID
idstringrequiredComponent UUID to duplicate
fieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
compactfullLT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
fullComponent duplicated successfully
idstringrequiredUUID of the newly created duplicate component
Invalid component ID format (not a valid UUID)
Unauthorized - Invalid or missing authentication token
Insufficient permissions to manage components or no access to project
Component not found or does not belong to the specified project