Create a new template
POST/emails/builder
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Create a new template
Request
Version stringrequired
API Version
Available options
2023-02-21- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
titlestring
typestringrequired
Available options
htmlfolderimportbuilderblankai_templatevibe-editorupdatedBystring
builderVersionstring
Available options
12namestring
parentIdstring
templateDataUrlstring
importProviderstringrequired
Available options
mailchimpactive_campaignkajabiotherimport_with_email_aiimportURLstring
templateSourcestring
isPlainTextboolean
subjectLinestring
fromNamestring
fromEmailstring
previewTextstring
{
"locationId": "ve9EPM428h8vShlRW1KT",
"title": "template title",
"type": "html",
"updatedBy": "zYy3YOUuHxgomU1uYJty",
"builderVersion": "2",
"name": "Template1",
"parentId": "zYy3YOUuHxgomU1uYJty",
"templateDataUrl": "",
"importProvider": "mailchimp",
"importURL": "https://tplshare.com/fhYJ3Mi",
"templateSource": "template_library",
"isPlainText": false,
"subjectLine": "Email Subject",
"fromName": "Name of sender",
"previewText": "preview text"
}
Success
- application/json
- Schema
- Example (auto)
Schema
redirectstringrequired
template id
traceIdstringrequired
trace id
{
"redirect": "66e811229245fc098765590",
"traceId": "0c52e980-41f6-4be7-8c4b-e2c5a13dc3c2"
}