---
title: "POST duplicate-file"
method: POST
path: "duplicate-file"
---

# POST duplicate-file

`POST duplicate-file`

## Request

- Base URL: `https://design.penpot.app/api/main/methods`
- URL: `https://design.penpot.app/api/main/methods/duplicate-file`
- Auth: none declared

Duplicate a single file in the same team.

## Request body

- object
  - `fileId` string, uuid, required: UUID formatted string
  - `name` string

---

[API](https://skmtc.dev/penpot/apis/penpot-api.md) - [All operations](https://skmtc.dev/penpot/apis/penpot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/penpot/apis/penpot-api/revisions/a195708d87bc?raw)
