Command

nylas auth status

Check authentication status.

Written by Qasim Muhammad Staff SRE

What does nylas auth status do?

The nylas auth status command verifies whether the CLI is authenticated and the current token is valid. It checks API connectivity, token expiry, and grant health. Use it in CI/CD pipelines to fail early if credentials are missing.

Usage

nylas auth status

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 status command verifies whether the CLI is authenticated and the current token is valid.

Check status

nylas auth status

JSON for scripting

nylas auth status --json

Example output

✓ Authenticated
  Email:    alice@example.com
  Provider: google
  Grant ID: grant_abc123
  Status:   valid
  API Key:  configured (us)

Troubleshooting

Status shows unauthenticated

Run `nylas auth config --api-key` to set your API key, or `nylas auth login` for OAuth.

Token valid but API calls fail

Your API key may lack the required scopes. Check your Nylas dashboard application settings.

Recommended guides

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