Skip to main content
The transactional command lets you send and manage transactional emails. There is also a top-level loops send shortcut for quickly sending a transactional email.

send

Send a transactional email.
loops transactional send \
  --id clx1234abc \
  --email alice@example.com
Pass data variables inline with --var or from a JSON file with --json-vars:
loops transactional send \
  --id clx1234abc \
  --email alice@example.com \
  --var name=Alice \
  --var company=Acme
loops transactional send \
  --id clx1234abc \
  --email alice@example.com \
  --json-vars ./vars.json
Add attachments with --attachment:
loops transactional send \
  --id clx1234abc \
  --email alice@example.com \
  --attachment ./attachment.pdf

Flags

FlagShortDescription
--idTransactional email ID Required
--emailRecipient email address Required
--var-vData variable as KEY=value (repeatable)
--json-vars-jPath to a JSON file of data variables
--attachment-APath to a file to attach (repeatable)
--add-to-audience-aCreate a contact in your audience if one doesn’t exist
--idempotency-keyIdempotency key to prevent duplicate sends

list

List published transactional emails.
loops transactional list

Flags

FlagDescription
--per-pageResults per page (10–50, default 20)
--cursorPagination cursor for a specific page

loops send shortcut

loops send is a top-level shortcut for loops transactional send. It accepts the same flags.
loops send \
  --id clx1234abc \
  --email alice@example.com \
  --var name=Alice
Last modified on April 7, 2026