Technology Apr 21, 2026 · 1 min read

Create a new contact in your address book from the Command Line

Create a new contact in your address book. Works with Google Contacts, Outlook People, and Exchange. The nylas contacts create command adds a new contact to your connected address book. Specify --name and --email at minimum. Syntax nylas contacts create --name NAME --email EMAIL [--...

DE
DEV Community
by Qasim Muhammad
Create a new contact in your address book from the Command Line

Create a new contact in your address book. Works with Google Contacts, Outlook People, and Exchange.

The nylas contacts create command adds a new contact to your connected address book. Specify --name and --email at minimum.

Syntax

nylas contacts create --name NAME --email EMAIL [--phone PHONE] [--company COMPANY]

Example

nylas contacts create

When to Use This

Reach for nylas contacts create for CRM automation, contact lookups in scripts, or AI agent workflows. Combine with --json to pipe output into other tools.

How It Works

Contact data spans multiple providers and formats. Google Contacts uses its own People API, Outlook uses Microsoft Graph, and Exchange uses EWS. The CLI gives you a single interface across all of them.

Related Commands

Full docs: nylas contacts create reference — all flags, advanced examples, and troubleshooting.

All commands: Nylas CLI Command Reference

Get started: brew install nylas/nylas-cli/nylasother install methods

DE
Source

This article was originally published by DEV Community and written by Qasim Muhammad.

Read original article on DEV Community
Back to Discover

Reading List