Command

nylas auth whoami

Show current user info for the active account.

Written by Qasim Muhammad Staff SRE

What does nylas auth whoami do?

The nylas auth whoami command displays the email address, provider, grant ID, and authentication status of your currently active account. Use it to verify which mailbox the CLI will target before running email, calendar, or contact commands.

Usage

nylas auth whoami

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas auth whoami command displays the email address, provider, grant ID, and authentication status of your currently active account.

Check current account

nylas auth whoami

Example output

Email:     alice@example.com
Provider:  google
Grant ID:  grant_abc123
Status:    valid
Region:    us

Troubleshooting

Recommended guides

Run nylas auth whoami --help for full help output.