Clone Template

POST {{baseUrl}}/v1/email-template/:template_id/clone

Creates a copy of a given template with a new name.

Request Body

[{"name"=>"name", "value"=>"My Cloned Template", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"object":"email-template","name":"TEMPLATE_NAME","html":"\u003chtml\u003e\u003chead\u003e\u003c/head\u003e\u003cbody\u003e\u003cp\u003eSome Text\u003c/p\u003e\u003c/body\u003e\u003c/html\u003e","is_writeable":true,"created":"2021-11-18 03:43:51","updated":"2021-11-18 03:43:51"}