Command
nylas webhook pubsub list
List Pub/Sub channels
Written by Qasim Muhammad Staff SRE
What does nylas webhook pubsub list do?
The nylas webhook pubsub list command lists Pub/Sub channels. It is part of the Webhooks commands, which create and manage webhooks for real-time event notifications. Use --json for structured output in scripts and automation.
Usage
nylas webhook pubsub listFlags
| 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 | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
Examples
The nylas webhook pubsub list command lists Pub/Sub channels.
JSON output for scripting
nylas webhook pubsub list --jsonTroubleshooting
Command not found or fails
Run `nylas auth config` and `nylas auth login` to authenticate first.
Recommended guides
Send OTP and 2FA Codes by Email
Generate a cryptographically secure one-time code and send it by email from the terminal — no SMTP. Test the full round trip and learn email OTP's limits.
Email Prometheus Alerts without SMTP
Send Prometheus Alertmanager alerts to email via a webhook receiver that runs nylas email send, instead of configuring Alertmanager's built-in SMTP relay.
Send Sentry Issue Alerts by Email (CLI)
Turn a Sentry issue alert webhook into an enriched email with nylas email send: parse the issue title, level, and permalink, then route by severity.
Send Grafana Alert Emails without SMTP
Point a Grafana webhook contact point at a handler that runs nylas email send to route alert emails without configuring the built-in SMTP server.
How to Evaluate an Email AI Agent
Evaluate an email agent with a labeled test set, classification and action-accuracy metrics, and prompt-injection guardrail tests you run on every change.
Send Email to Discord with a Webhook (CLI)
Post email to a Discord channel from the terminal. Pull messages as JSON with the Nylas CLI and POST them to a Discord webhook as rich embeds. No bot to host.
Run nylas webhook pubsub list --help for full help output.