Add Template

Creates a new Optimail template.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Rate Limit

For Optimove's general API rate limit, see the Understanding API Rate Limits reference.

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
}
Body Params
int64 | null
string | null
string | null
string | null
string | null
string | null
int32 | null
int32 | null
int32 | null
int32 | null
int32 | null
string | null
boolean | null
Response
200

Success

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!