cURL
curl --request POST \ --url http://base.url.com/templates/{id}/clone \ --header 'Content-Type: application/json' \ --header 'x-phishy-api-key: <api-key>' \ --data '{ "name": "<string>" }'
{ "id": "<string>", "name": "<string>", "content": "<string>" }
Clones an existing template based on the provided ID
Clone template
Cloned Template Name
Template successfully cloned
Unique identifier for the template
Name of the template
HTML content of the template