Creates a new template_version object

POST {{baseUrl}}/templates/:tmpl_id/versions

Creates a new template version attached to the specified template.

Request Body

[{"name"=>"description", "value"=>"Template version 123", "datatype"=>"string"}, {"name"=>"html", "value"=>"<html><body></h1> Hello {{name}}</h1></body></html>", "datatype"=>"string"}, {"name"=>"engine", "value"=>"handlebars", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Idempotency-KeystringA string of no longer than 256 characters that uniquely identifies this resource. For more help integrating idempotency keys, refer to our implementation guide.
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;vrsn_534e339882d2282&quot;,&quot;description&quot;:&quot;Second Version&quot;,&quot;html&quot;:&quot;\u003chtml\u003eSecond HTML for {{name}}\u003c/html\u003e&quot;,&quot;date_created&quot;:&quot;2017-11-09T04:49:38.016Z&quot;,&quot;date_modified&quot;:&quot;2017-11-09T04:49:38.016Z&quot;,&quot;object&quot;:&quot;version&quot;}