nylas contacts groups list for Developers — Quick Reference

Published: (April 21, 2026 at 01:23 PM EDT)
1 min read
Source: Dev.to

Source: Dev.to

Overview

nylas contacts groups list displays all contact groups (Google) or categories (Outlook) in your address book. Each entry shows the group name, ID, and member count. This command works across multiple providers—Google Contacts (People API), Outlook (Microsoft Graph), and Exchange (EWS)—providing a single interface for contact management from the CLI.

Usage

nylas contacts groups list [--json]
  • --json – Output results in JSON format for machine‑readable processing (e.g., piping to jq).

Run the help command to see all available flags:

nylas contacts groups list --help

Examples

List all contact groups

nylas contacts groups list

Count contacts per group as JSON

nylas contacts groups list --json | jq '.[] | {name, member_count}'

Note: If no groups are returned, the group member count will show 0.

References

  • Full documentation: nylas contacts groups list reference – includes all flags, advanced examples, and troubleshooting.
  • All commands: Nylas CLI Command Reference
  • Get started: brew install nylas/nylas-cli/nylas (other install methods are also available).
0 views
Back to Blog

Related posts

Read more »