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
Key | Datatype | Required | Description |
---|---|---|---|
Idempotency-Key | string | A string of no longer than 256 characters that uniquely identifies this resource. For more help integrating idempotency keys, refer to our implementation guide. | |
Content-Type | string |
RESPONSES
status: OK
{"id":"vrsn_534e339882d2282","description":"Second Version","html":"\u003chtml\u003eSecond HTML for {{name}}\u003c/html\u003e","date_created":"2017-11-09T04:49:38.016Z","date_modified":"2017-11-09T04:49:38.016Z","object":"version"}