Command

nylas auth show

Display account details.

Written by Qasim Muhammad Staff SRE

What does nylas auth show do?

The nylas auth show command displays detailed information about a connected account including email address, provider, grant ID, OAuth scopes, token expiry, and sync status. Pass a grant ID to inspect a specific account.

Usage

nylas auth show [grant-id]

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 show command displays detailed information about a connected account including email address, provider, grant ID, OAuth scopes, token expiry, and sync status.

Show active account

nylas auth show

Show specific grant

nylas auth show grant_abc123 --json

Example output

Grant ID:    grant_abc123
Email:       alice@example.com
Provider:    google
Status:      valid
Scopes:      email, calendar, contacts
Created:     2026-05-12T09:14:00Z
Updated:     2026-06-18T11:02:00Z

Troubleshooting

No active account

Run `nylas auth login` to connect an account, or `nylas auth switch` to select one.

Token shows as expired

Run `nylas auth login` to refresh your OAuth token. API key auth doesn't expire.

Recommended guides

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