DEV Community

Qasim Muhammad
Qasim Muhammad

Posted on

A Practical Guide to nylas auth list

Need to list all connected accounts (grants)? One command.

The nylas auth list command shows every email account connected to the CLI — Gmail, Outlook, Exchange, Yahoo, iCloud, and IMAP grants. Each entry displays the grant ID, email address, provider, and status.

How It Works

The CLI stores credentials securely in your system keychain (macOS Keychain, Linux Secret Service, or Windows Credential Manager). Tokens are refreshed automatically — you authenticate once and commands just work.

Syntax

nylas auth list
Enter fullscreen mode Exit fullscreen mode

Examples

List connected accounts:

nylas auth list
Enter fullscreen mode Exit fullscreen mode

Output as JSON:

nylas auth list --json
Enter fullscreen mode Exit fullscreen mode

Full docs: nylas auth list reference — all flags, advanced examples, and troubleshooting.

All commands: Nylas CLI Command Reference

Get started: brew install nylas/nylas-cli/nylas — other install methods

Top comments (0)