Menu

Post image 1
Post image 2
1 / 2
0

A Practical Guide to nylas auth list

DEV Community·Qasim Muhammad·about 1 month ago
#8EDFnG8Z
Reading 0:00
15s threshold

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

Read More