post https://a.klaviyo.com/api/v1/campaign//clone
Creates a copy of a campaign. The new campaign starts as a draft.
Response
Creates a copy of a campaign. The new campaign starts as a draft.
xxxxxxxxxx
curl --request POST \
--url 'https://a.klaviyo.com/api/v1/campaign/CAMPAIGN_ID/clone?api_key=PRIVATE_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'name=Cloned Campaign' \
--data list_id=LIST_ID
xxxxxxxxxx
48}
{
"object": "campaign",
"id": "CAMPAIGN_ID",
"name": "Campaign Name",
"subject": "Company Monthly Newsletter",
"from_email": "george.washington@klaviyo.com",
"from_name": "George Washington",
"lists": [
{
"object": "list",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"list_type": "list",
"folder": "string",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z",
"person_count": 0
}
],
"excluded_lists": [
{
"object": "list",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"list_type": "list",
"folder": "string",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z",
"person_count": 0
}
],