---
title: "Duplicate a video spec preset for publisher sites"
type: reference
method: POST
path: /rest-api/video-requirements/presets/{presetId}/copy.do
tag: "Sites"
---

# Duplicate a video spec preset for publisher sites

`POST https://YOUR-NETWORK-DOMAIN/rest-api/video-requirements/presets/{presetId}/copy.do`

Adds a custom preset with the same values as presetId — a starting point for a publisher whose spec differs a little, or for a second delivery profile. It is named "… (copy)" unless name is given, and gets an id of its own; the original is not changed. The response is the new preset. Requires the VIDEO_REQUIREMENT_PRESETS admin permission (Admin → Creatives & tags → Video requirement presets).

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `presetId` | string | yes | `hulu` | Id of the preset to duplicate |

## Form params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `name` | string | no | `Hulu (Volacity)` | Name of the copy, at most 128 characters; "<name> (copy)" when left out |

## Responses

- `200` — {preset, siteIds} — the new preset
- `400` — name longer than 128 characters
- `401` — Authentication error
- `403` — Insufficient permissions, naming the missing one
- `404` — No preset with this id

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/video-requirements/presets/hulu/copy.do' \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'name=Hulu (Volacity)'
```

Source: https://epom.com/ad-server/docs/api/sites/post-video-requirements-presets-copy