Command
nylas dashboard apps apikeys create
Create a new API key
Written by Qasim Muhammad Staff SRE
What does nylas dashboard apps apikeys create do?
The nylas dashboard apps apikeys create command creates a new API key. It is part of the Dashboard commands, which manage your Nylas account, applications, API keys, and organizations.
Usage
nylas dashboard apps apikeys createFlags
| Flag | Description |
|---|---|
| --app string | Application ID (overrides active app) |
| --delivery string | API key delivery method (activate, clipboard, or file) |
| --expires int | Expiration in days (default: no expiration) |
| --name string(-n) | API key name (default: CLI-<timestamp>) |
| --region string(-r) | Region (overrides active app) |
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
Examples
The nylas dashboard apps apikeys create command creates a new API key.
JSON output for scripting
nylas dashboard apps apikeys create --jsonFilter by app
nylas dashboard apps apikeys create --app <value> --jsonTroubleshooting
Command not found or fails
Run `nylas auth config` and `nylas auth login` to authenticate first.
Recommended guides
Automate Customer Onboarding Emails
Run a multi-day onboarding sequence from a signup hook with nylas email send --schedule and hosted templates — no marketing platform, no SMTP.
AI Agent Audit Dashboard from the CLI
Build an audit dashboard for AI agent activity: per-agent command counts, error rates, session replay, and cron snapshots from nylas audit logs and jq.
Manage Email Drafts from Terminal
Create, list, inspect, and send email drafts from the terminal. Use drafts as a safety net before any email goes out — works with Gmail, Outlook, and IMAP.
Getting Started with Agent Accounts
How Nylas Agent Account works. Architecture from Application to Workspace, inbound and outbound email flows, and why managed email replaces SMTP for AI agents.
Set Up an MCP Email Server in 5 Minutes
Connect AI agents to real email accounts through MCP. Install, configure, and verify an email MCP server for Claude Code, Cursor, and other AI coding tools.
ChatGPT Gmail Connector vs MCP
Compare ChatGPT Gmail apps, custom MCP apps, and local CLI MCP for Gmail workflows. Pick the right path for search, sync, and write actions.
Run nylas dashboard apps apikeys create --help for full help output.