---
title: "Clone Template"
method: POST
path: "/api/declaration-templates/{template_id}/clone"
tags: ["Declaration Templates (Admin)"]
---

# Clone Template

`POST /api/declaration-templates/{template_id}/clone`

Clone a template (a system default or one of the company's own) into a NEW
company-owned, editable copy. The original is left untouched.

Only HTML templates can be cloned — PDF form-fill templates (e.g. DUA) use a
different mechanism and are out of scope.

Body (optional):
    name: str — name for the copy (defaults to "Cópia de {original}")

## Path parameters

- `template_id` integer, required

## Headers

- `x-api-token` string, nullable

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
