# Duplicate Studio Template

> Duplicate a studio template to create a new one

- **URL**: https://orshot.com/docs/api-reference/studio-template-duplicate

---

Duplicate an existing studio template. You can duplicate it within the same workspace or to another workspace where you are the owner.

## Endpoint```markdown tab="Endpoint"
https://api.orshot.com/v1/studio/templates/:templateId/duplicate
```## URL Parameters

| Parameter    | Type    | Required | Description                                |
| ------------ | ------- | -------- | ------------------------------------------ |
| `templateId` | Integer | Yes      | The unique ID of the template to duplicate |

## Request Body

| Parameter       | Type   | Required | Description                                                                                                                                                                                |
| --------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `workspaceId`   | String | No       | Target workspace ID. Defaults to current workspace if omitted. User must be the owner of target workspace.                                                                                 |
| `name`          | String | No       | Name for the new template. Defaults to "Copy of original_name".                                                                                                                            |
| `description`   | String | No       | Description for the new template. Defaults to original description.                                                                                                                        |
| `embed_user_id` | String | No       | Assign the duplicated template to an embed user. Accepts either an external user ID (resolved using your workspace's embed configuration) or an Orshot internal ID (prefixed with `eui_`). |

## Request```js
await fetch("https://api.orshot.com/v1/studio/templates/123/duplicate", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
  body: JSON.stringify({
    workspaceId: "target-workspace-id", // Optional
    name: "New Template Copy",          // Optional
    description: "Duplicated for Q2 campaign", // Optional
    embed_user_id: "your-external-user-id" // Optional
  })
});
```</Tab>```json
{
  "id": 456,
  "name": "New Template Copy",
  "description": "Duplicated for Q2 campaign",
  "updated_at": "2026-02-16T12:00:00.000Z",
  "workspace_id": "target-workspace-id"
}
```</Tab>
</Tabs>