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 [flags]
Needs the scopetemplates:read
Only reads

Flags

  • --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 command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.

  • 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.