Command

nylas webhook triggers

The nylas webhook triggers command displays every event type you can subscribe a webhook to — message.created, event.updated, contact.deleted, and more. Use --json for pipe-friendly output. Useful when configuring or updating webhook subscriptions.

Usage

nylas webhook triggers [--json]

Flags

FlagDescription
--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
--jsonOutput as JSON

Examples

List all trigger types

nylas webhook triggers

Filter for email triggers

nylas webhook triggers --json | jq '.[] | select(startswith("message."))'

Troubleshooting

Empty trigger list

Ensure you have a valid API key configured. Run nylas auth config to verify.

Trigger type not recognized when creating webhook

Copy the exact trigger string from this list. Trigger names are case-sensitive (e.g. message.created, not Message.Created).

Recommended guides

Run nylas webhook triggers --help for full help output.