Create Template Clone

POST {{baseUrl}}/api/templates/:id/clone/

Create a clone of a template with the given template ID. Request specific fields using sparse fieldsets.

Rate limits:
Burst: 10/s
Steady: 150/m

Scopes: Templates Write

Request Body

{"data"=>{"type"=>"template", "id"=>"TEMPLATE_ID", "attributes"=>{"name"=>"reprehenderit voluptate Duis", "return_fields"=>["in do pariatur aliqua", "irure dolore"]}}}

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"data":{"type":"template","id":"voluptate minim ex","attributes":{"company_id":"enim fugiat velit labore","name":"irure mollit tempor","editor_type":"id dolore","html":"in molli","text":"ex in labore ut","created":"1984-05-06T13:55:11.862Z","updated":"1974-06-24T06:20:25.722Z"},"links":{"self":"https://GZiHtzoWKLcwUyEZOEiIp.jghepl8x6EqBIUYrIp3EgXuCtWM2AKy+38eHMfnKYxm+mjuezcmi8bz38YINQvDsOnx8pNAI"}}}