Skip to main content
A snippet is an HTML fragment — a signature, a paragraph, a call-to-action — saved by a member of your team from the Templates page (Templates > Snippets) or from an editor, and inserted inside a message. It differs from a message template, which is a whole message. Contents are stored as authored, with {{variables}} left raw, and are not sanitized on save: sanitize before rendering them outside lemlist. Use List snippets to browse the team’s snippets (name search, creators) and Get snippet to read one with its content.

A snippet: an HTML fragment (a signature, a paragraph, a call-to-action) inserted inside a message. The content is HTML as authored: sanitize it before rendering.

_id
string

Snippet identifier (snt_)

name
string

Name shown on the Templates page

content
string

HTML content as authored, variables left as {{variable}}

createdBy
string

Creator user id (usr_), see GET /team/members

createdAt
string<date-time>

Creation date