Skip to main content

Clone SMS Campaign

Create a copy of an existing SMS campaign. The clone starts in DRAFT status with a new name and copies the source message and audience.


Endpoint​

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

Path Parameters​

ParameterTypeRequiredDescription
idstringrequiredSource campaign ID as a MongoDB ObjectID hex string.

Request Body​

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

Sample Request​

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

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

Response​

Success — 201 Created​

Returns the new SMS campaign object in the same shape as Get SMS Campaign, with DRAFT status.


Errors​

StatusMessageCause
400Invalid request body.The request body could not be parsed.
400Please provide a campaign ID.id is missing.
400We could not find the campaign you are looking for.The ID is malformed or the source campaign does not exist in the workspace.
400Please provide a name for this campaign.name is empty or whitespace.
400The campaign name must be 255 characters or less.name exceeds 255 characters.