List template starters
The ready-made templates a new template can start from, by kind and search. Each has a name, what it is for, the subject it starts with and the looks it can be drawn in. Its variables and its message come with templates.starter.
opensend.templates.starters(input?)opensend templates startersInput
limitintegerHow many items to return, from 1 to 100. Without it you get 25.
offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.qstringText to search for. Only starters that have it in their name or their description are returned. Up to 40 characters.
categorystringOnly starters of this kind:
account,commerce,notify,marketing,events,hospitality,health,education,real-estate,nonprofit,travel,recruitingorcommunity.One of
accountcommercenotifymarketingeventshospitalityhealtheducationreal-estatenonprofittravelrecruitingcommunity
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
object"list"Always
list.dataobject[]The items on this page.
data[].object"template_starter"Always
template_starter.data[].idstringThe id of the starter. Pass it as
startertotemplates.create.data[].namestringThe name of the starter.
data[].descriptionstringWhat the message is for and what it holds.
data[].categorystringThe kind of mail it is, such as
accountorcommerce.One of
accountcommercenotifymarketingeventshospitalityhealtheducationreal-estatenonprofittravelrecruitingcommunitydata[].subjectstringThe subject line a template made from it starts with.
{{name}}marks a variable.data[].stylesstring[]The looks it can be drawn in.
One of
minimalmodernboldclassicdarksoftdata[].defaultStylestringThe look it is drawn in when you name none.
One of
minimalmodernboldclassicdarksofttotalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.