Create a new template
Request
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Body
locationId
stringExample:
ve9EPM428h8vShlRW1KT
title
stringExample:
template title
type
stringAllowed values:
htmlfolderimportbuilderblank
updatedBy
stringExample:
zYy3YOUuHxgomU1uYJty
builderVersion
stringAllowed values:
12
Default:
2
name
stringExample:
Template1
parentId
stringExample:
zYy3YOUuHxgomU1uYJty
templateDataUrl
stringExample:
importProvider
stringAllowed values:
mailchimpactive_campaignkajabi
importURL
stringExample:
https://tplshare.com/fhYJ3Mi
templateSource
stringExample:
template_library
isPlainText
booleanExample:
false
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-07-28
Responses
201
Successful response
Body
redirect
stringtemplate id
Example:
66e811229245fc098765590
traceId
stringtrace id
Example:
0c52e980-41f6-4be7-8c4b-e2c5a13dc3c2
422
Unprocessable Entity
Body
statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request