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
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | required | Source campaign ID as a MongoDB ObjectID hex string. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Name 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
| Status | Message | Cause |
|---|---|---|
400 | Invalid request body. | The request body could not be parsed. |
400 | Please provide a campaign ID. | id is missing. |
400 | We could not find the campaign you are looking for. | The ID is malformed or the source campaign does not exist in the workspace. |
400 | Please provide a name for this campaign. | name is empty or whitespace. |
400 | The campaign name must be 255 characters or less. | name exceeds 255 characters. |