Skip to main content
List notification preference categories in a workspace. Returns a flattened table with root_category, section, category_name, default_preference, and mandatory channels. Use --mode to switch between draft and live.

Syntax

suprsend category list [flags]

Flags

FlagDescriptionDefault
-h, --helpShow help for the command
-m, --mode stringVersion mode (draft or live)live
-o, --output stringOutput format (pretty, json, yaml)pretty
Use -o json for machine-readable JSON output, -o yaml for YAML. Default -o pretty outputs a human-friendly table.

Example

# List categories in staging workspace (default)
suprsend category list

# List categories in production workspace
suprsend category list --workspace production

# List categories in draft mode
suprsend category list --mode draft

# List categories in JSON format
suprsend category list --output json