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

name
string

Cloned Template Name

Response

Template successfully cloned

id
string
required

Unique identifier for the template

name
string
required

Name of the template

content
string
required

HTML content of the template