Add Template

Creates a new Optimail template.

Sample Request

{
  "TemplateName":"GIF Lovers",
  "Subject":"Hello GIF Lovers",
  "Html":"&lt!DOCTYPE html&gt<html xmlns="http://www.w3.org/1999/xhtml">
  	<head>
  		<title>GIF with a hard G</title>
    </head>
  	<body style=\"min-height:325px;\">
  		<img src=\"https://d31v04zd2.cloudfront.net/blog/wp-content/uploads/2014/03/loft-unwrap-animation-repeat.gif\" 
  		width=\"100\" height=\"100\" alt=\"GIF with a hard G\" border=\"0\" class=\"fr-dii fr-draggable\" style=\"float:none;\">
  	</body>
  </html>",
  "PlainText":"GIF with a hard G",
  "FromName":"GIF World",
  "ReplyToAddressID":2,
  "FromEmailAddressID":3,
  "FolderID":104176,
  "PreferenceGroupID":128009
}

Sample Response

{
	"TemplateID":9481
}
Language
Authorization
Header
URL
Click Try It! to start a request and see the response here!