post https://a.klaviyo.com/api/v1/email-template//clone
Creates a copy of a given template with a new name.
Response
Creates a copy of a given template with a new name.
xxxxxxxxxx
curl --request POST \
--url 'https://a.klaviyo.com/api/v1/email-template/TEMPLATE_ID/clone?api_key=PRIVATE_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'name=My Cloned Template'
xxxxxxxxxx
{
"object": "email-template",
"id": "TEMPLATE_ID",
"name": "TEMPLATE_NAME",
"html": "<html><head></head><body><p>Some Text</p></body></html>",
"is_writeable": true,
"created": "2021-11-18 03:43:51",
"updated": "2021-11-18 03:43:51"
}