Command
nylas slack users list
List users in the Slack workspace.
Written by Qasim Muhammad Staff SRE
What does nylas slack users list do?
The nylas slack users list command retrieves all users from your Slack workspace. Each entry includes the user ID, display name, email, and status. Use --limit to paginate and --json for pipe-friendly output in scripts.
Usage
nylas slack users list [--limit N] [--json]Flags
| Flag | Description |
|---|---|
| --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 | Maximum number of users to return |
| --yes(-y) | Skip confirmations |
| --id | Show user IDs |
Examples
The nylas slack users list command retrieves all users from your Slack workspace.
List all workspace users
nylas slack users list --limit 50Find a user by email
nylas slack users list --json | jq '.[] | select(.email == "alice@company.com")'Example output
NAME DISPLAY NAME STATUS
Alice Chen alice active
Bob Smith bob active
Carol Diaz carol away
3 usersTroubleshooting
Empty results or missing users
Ensure the token has the users:read and users:read.email scopes. Guest accounts may be excluded by default.
Rate limited by Slack API
Slack rate-limits users.list to ~20 requests per minute. Reduce --limit or add a delay between calls in scripts.
Run nylas slack users list --help for full help output.