Overview
A message template is a reusable template for the message content of your mailer — the handwritten-style text body, replacement variables, QR code configuration, and font and style settings. Depending on the mail type, this content appears in a different location:- Postcard — the back side
- Letter — the cover letter text
- Notecard — the interior
%FIRST_NAME%) with real data. Because templates are reusable, you can attach the same template to multiple campaigns, and changes take effect on the next send.
Message templates are created and managed through these endpoints.
What a Message Template Contains
Replacement Variables
Replacement variables in a message are filled in for each recipient when the piece is printed. Write them as%NAME%; matching ignores case.
A variable that isn’t in this list is removed from the message when it prints, so check the spelling. In image templates and QR code URLs, write variables with tildes instead, such as
~CUSTOM1~ or ~CURRENT_MONTH~.
Gift Cards & Additional Pages
Templates can carry gift card details (giftcard_brand_code, giftcard_amount) and, for letter templates, an additional_pages PDF URL to attach extra pages.