Skip to main content
The footers command lets you manage the custom footers of your campaign and workflow emails. A footer has a name, a placement, and content. The content is LMX and has a draft version and a published version. Emails use the published version only. To use a new footer:
  1. Create the footer with create.
  2. Set the draft content with variant update.
  3. Publish the draft with variant publish.
  4. Make the footer the default with set-default, or set it on one email with email-messages update --footer-id.

create

Create a footer. The new footer has an unpublished draft. Emails cannot use the footer until you publish its content.

Flags

delete

Delete a footer and its content.
You cannot delete the default footer or a footer that emails use.

get

Get a footer by ID, including its content and contentRevisionId.

list

List footers.
Pass --pick to filter the list interactively with fzf and copy the selected footer ID to your clipboard. Requires fzf to be installed and on your PATH.

Flags

set-default

Make a published footer the default footer. New campaign and workflow emails use the default footer.
--existing-emails selects which existing campaign and workflow emails change to the footer:
  • previousDefault — the emails that use the previous default footer.
  • all — all emails.
  • none — no emails. Only new emails use the footer.
The output includes updatedEmailCount, the number of existing emails that changed to the footer.

Confirmation

--existing-emails all changes the footer on every existing campaign and workflow email, so the CLI asks for confirmation first. Pass --yes to skip the prompt.
The CLI cannot show the prompt with --output json or when the input is not a terminal, for example in a script or CI job. In these cases --yes is required.

Flags

update

Update the name or placement of a footer. Changes apply immediately, including to running workflows.
To change the content of a footer, use variant update.

Flags

At least one flag must be provided.

variant

The variant subcommands manage the content of a footer. A footer has one variant, so each subcommand takes the footer ID.

variant get

Get the content of a footer, including its contentRevisionId.
The text output shows the draft content. unpublishedChanges is true when the draft is different from the published content. Use --output json to get both draftLmx and publishedLmx.

variant update

Update the draft content of a footer. Emails continue to use the published content until you publish the draft.
Pass LMX inline with --lmx or from a file with --lmx-file. Footer content supports a subset of LMX. The only variables it can use are {system.company_name}, {system.company_address}, {system.mailing_list_name}, {system.unsubscribe_link}, and {contact.email}. It cannot use <Style /> or components.

Flags

One of --lmx or --lmx-file must be provided.

variant publish

Publish the draft content of a footer. Emails that use the footer use the new content immediately.
The draft must contain:
  • {system.company_name} in the text.
  • {system.company_address} in the text.
  • {system.unsubscribe_link} as the URL of a link or button.

Flags

Concurrency control

variant update and variant publish must include either --expected-revision-id or --force:
  • --expected-revision-id — pass the contentRevisionId from a prior footers variant get. The request is rejected with a conflict if the server’s revision has advanced, so you don’t overwrite or publish a concurrent edit.
  • --force — fetch the current revision automatically and use it. With variant update, this overwrites any concurrent edits. With variant publish, this publishes the current draft, including edits from other users.
Last modified on November 24, 2026