Command

nylas template list

List hosted templates

Written by Qasim Muhammad Staff SRE

What does nylas template list do?

The nylas template list command lists hosted templates. It is part of the Hosted Templates commands, which application or grant-scoped templates managed via the Nylas API. Use --json for structured output in scripts and automation.

Usage

nylas template list

Flags

FlagDescription
--grant-id stringGrant ID or email for grant-scoped templates
--limit int(-n)Maximum number of items to show
--page-token stringPage token for pagination
--scope stringTemplate scope: app or grant
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--yes(-y)Skip confirmations

Examples

The nylas template list command lists hosted templates.

JSON output for scripting

nylas template list --json

Limit the number of results

nylas template list --limit 10 --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas template list --help for full help output.