curl -u admin:admin http://localhost:9000/api/templates

Category: Listmonk & Newsletters

curl -u admin:admin http://localhost:9000/api/templates

List campaign and transactional templates

Returns all templates with their subject and body source, plus the is_default flag that marks the fallback template. Templates are shared across campaigns, so editing one changes every campaign that references it. The default template is used when a campaign omits template_id.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.