---
title: "Duplicate a project template folder collection and all its contents"
method: POST
path: "/api/v3/account/project_template_folders/{id}/duplicate"
tags: ["project template folders"]
---

# Duplicate a project template folder collection and all its contents

`POST /api/v3/account/project_template_folders/{id}/duplicate`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `jid` string

## Headers

- `Fieldwire-Version` string, date, required

## Request body

- ProjectTemplateFolderDuplicateInput — Schema for duplicating a project template folder collection
  - `project_template_folder` object, required — Project template folder attributes for duplication
    - `name` string, required — Name for the duplicated project template folder collection

## Response `200`

Duplication complete - returns the new project template folder

- ProjectTemplateFolder — Entity used for grouping plans/files etc.
  - `id` string, uuid, required — ID of the entity
  - `creator_user_id` integer, required — ID of the user who created this entity
  - `last_editor_user_id` integer, required — ID of the user who most recently edited this entity
  - `project_template_id` string, uuid, required — ID of the project template this entity belongs to
  - `account_id` integer, required — ID of the user account
  - `name` string, required — Name of the entity
  - `cascade_deleted_by_id` boolean, nullable — Cascade deleted by id
  - `kind` 'floorplan' | 'attachment', required — Kind of the entity
  - `process_state` 'deleting' | 'restoring' | 'null', nullable — State of deletion of this project_template_folder
  - `required_role` 'follower' | 'member' | 'admin', required — User role required to view the files belonging to this project_template_folder
  - `resolved_conflict` boolean, nullable, required — Specifies if PUT/PATCH request was rejected - do not store this field!
  - `created_at` string, date-time, required — Time when the server created the entity
  - `deleted_at` string, date-time, nullable — Time the server deleted the entity
  - `device_created_at` string, date-time, required — Time when the device created the entity
  - `device_updated_at` string, date-time, required — Time when the device last updated the entity
  - `updated_at` string, date-time, required — Time when the server last updated the entity
  - `project_template_folder_id` string, uuid, nullable — ID of the project_template_folder containing this project_template_folder
  - `collection_id` string, uuid, nullable — ID of the collection project template folder, root-level folder parent

## Other responses

- `202` — Duplication enqueued - poll with returned jid
- `403` — Forbidden access

---

[API](https://skmtc.dev/fieldwire/apis/fieldwire-super-api.md) · [All operations](https://skmtc.dev/fieldwire/apis/fieldwire-super-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fieldwire/fieldwire-super-api/revisions/66ee1c20b92d/schema)
