Clone Template
POST /newsletters/templates/clone
POST
/newsletters/templates/clone
Import an existing email as a template.
source decides which of url, issue_id and html is read - the other
two are ignored rather than rejected, so sending all three is not an error
and not a merge.
Authorizations
Parameters
Header Parameters
Request Body required
Import an existing email as a template.
source says which of the three optional inputs is the real one: url
reads url, past_issue reads issue_id, html reads html. It is
deliberately left an open string rather than a Literal, because the app
leaves it open - closing it here would 422 a source the app added.
Responses
201
Successful Response
object
data
required
An open envelope for a newsletter, an issue, a template or a send row.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string