---
title: "Clone a questionnaire into a new template"
method: POST
path: "/api/questionnaires/{id}/save-as-template"
tags: ["Questionnaire"]
---

# Clone a questionnaire into a new template

`POST /api/questionnaires/{id}/save-as-template`

Copies a questionnaire, its sections and its questions into a brand-new draft template named "Copy of …". A Retraced admin may only clone Retraced-owned questionnaires; everyone else may only clone their own company's. The clone belongs to the source questionnaire's company, carries no answer requests or responses, and starts inactive when created by an admin.

## Path parameters

- `id` string, required

## Response `201`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `companyId` string
    - `name` string
    - `description` string
    - `status` string
    - `isRetraced` string
    - `isTemplate` number
    - `isArchived` number
    - `isActive` number
    - `templateId` string
    - `statistics` object

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response

---

[API](https://skmtc.net/retraced/apis/api-reference.md) · [All operations](https://skmtc.net/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/60d6c901bc4e/schema)
