Anonymous View
Skip to main content
The uploads command lets you upload files as email assets that can be referenced in LMX email content.

create

Upload a file as an email asset.
loops uploads create ./header.png
Use the returned finalUrl in LMX <Image /> elements. By default the MIME type is sniffed from the file contents. Override it with --content-type if needed:
loops uploads create ./header.png --content-type image/png

Flags

FlagDescription
--content-typeMIME type to use for the upload (default: sniffed from file contents)
Last modified on June 10, 2026