# Clone a campaign `POST /api/v1/campaigns/{id}/clone` Copies the content and recipient list into a new draft campaign. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Campaigns → Write**. ## Headers - `X-Sport-Id` (integer, required) — The sport ID from [List sports](/api/sports/list.md). Use the sport the record belongs to. ## Path parameters - `id` (integer, required) — ID of the campaign. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/campaigns/${ID:?Set ID}/clone" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **201 Created** Returns the new draft and its recipient count in `data`. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 25, "sport_id": 3, "name": "[CLONE] November club news", "subject": "News from the club", "body_html": "

Registration for the winter program opens this week.

", "track_opens": false, "template_id": null, "recipient_config": null, "status": "draft", "scheduled_at": null, "recipients": 0 } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found. - `422` — One or more fields failed validation. - `500` — The campaign operation could not be completed.