Skip to main content
List templates in a workspace. Returns name, slug, status, enabled channels, and last updated timestamp for each template. Defaults to listing live templates.

Syntax

suprsend template list [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
-l, --limit intMaximum number of templates to return20
-f, --offset intNumber of templates to skip (for pagination)0
-m, --mode stringFilter by version mode: live or draftlive
-o, --output stringOutput format: pretty, yaml, or jsonpretty

Example

# List live templates in the default (staging) workspace
suprsend template list

# List draft templates
suprsend template list --mode draft

# List templates in production workspace
suprsend template list --workspace production

# Paginate: get the second page of 20 templates
suprsend template list --limit 20 --offset 20

# Output as JSON for scripting
suprsend template list --output json