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
The body is of type object.
object
Template successfully cloned
The response is of type object.