Skip to main content

Clone Campaign

Create a copy of an existing campaign. The cloned campaign is set to DRAFT status with a new name. All variant content, sender identity, reply-to, and audience settings are copied.


Endpoint

POST https://api.campaignlark.com/v1/campaigns/:id/clone

Path Parameters

ParameterTypeRequiredDescription
idstringrequiredThe campaign ID to clone.

Request Body

FieldTypeRequiredDescription
namestringrequiredName for the new campaign. Must be 1–255 characters.

Sample Request

POST https://api.campaignlark.com/v1/campaigns/64f1a2b3c4d5e6f7a8b9c0d1/clone
Content-Type: application/json

{
"name": "Summer Sale — Copy"
}

Response

Success — 201 Created

{
"error": null,
"data": {
"id": "64f1a2b3c4d5e6f7a8b9c0d9",
"name": "Summer Sale — Copy"
}
}

Errors

StatusMessageCause
400Please provide a campaign ID.id path param is missing.
400Invalid request body.Request body could not be parsed.
400We could not find the campaign you are looking for.Source campaign not found.
400Please provide a name for this campaign.name is empty.
400The campaign name must be 255 characters or less.name exceeds 255 characters.