Command

nylas webhook pubsub create

Create a Pub/Sub channel

Written by Qasim Muhammad Staff SRE

What does nylas webhook pubsub create do?

The nylas webhook pubsub create command creates a Pub/Sub channel. It is part of the Webhooks commands, which create and manage webhooks for real-time event notifications.

Usage

nylas webhook pubsub create

Flags

FlagDescription
--description stringChannel description
--encryption-key stringOptional encryption key identifier
--notify stringSlice(-n)Notification email addresses
--topic stringGoogle Cloud Pub/Sub topic path (required)
--triggers stringSlice(-t)Trigger types (required, comma-separated or repeated)
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas webhook pubsub create command creates a Pub/Sub channel.

JSON output for scripting

nylas webhook pubsub create --json

Filter by description

nylas webhook pubsub create --description <value> --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas webhook pubsub create --help for full help output.