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.

Written by Qasim Muhammad Staff SRE

What does nylas webhook triggers do?

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 [--category CATEGORY] [--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
--category(-c)Filter by trigger category

Examples

List all trigger types

nylas webhook triggers

List message trigger types

nylas webhook triggers --category message --json

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.