POST
/
templates
/
{id}
/
clone
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>"
}

Authorizations

x-phishy-api-key
string
header
required

Body

application/json

Clone template

The body is of type object.

Response

200
application/json

Template successfully cloned

The response is of type object.