Skip to the page

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?)
Needs the scopetemplates:readFrom a terminalopensend templates starters

Input

  • limitinteger

    How many items to return, from 1 to 100. Without it you get 25.

  • offsetinteger

    How many items to skip. Use it with limit to read the next page. Default: 0.

  • qstring

    Text to search for. Only starters that have it in their name or their description are returned. Up to 40 characters.

  • categorystring

    Only starters of this kind: account, commerce, notify, marketing, events, hospitality, health, education, real-estate, nonprofit, travel, recruiting or community.

    One ofaccountcommercenotifymarketingeventshospitalityhealtheducationreal-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[].idstring

    The id of the starter. Pass it as starter to templates.create.

  • data[].namestring

    The name of the starter.

  • data[].descriptionstring

    What the message is for and what it holds.

  • data[].categorystring

    The kind of mail it is, such as account or commerce.

    One ofaccountcommercenotifymarketingeventshospitalityhealtheducationreal-estatenonprofittravelrecruitingcommunity

  • data[].subjectstring

    The subject line a template made from it starts with. {{name}} marks a variable.

  • data[].stylesstring[]

    The looks it can be drawn in.

    One ofminimalmodernboldclassicdarksoft

  • data[].defaultStylestring

    The look it is drawn in when you name none.

    One ofminimalmodernboldclassicdarksoft

  • totalinteger

    How many items match in all, on every page together.

  • hasMoreboolean

    Whether more items follow this page.