Command

nylas webhook test send

The nylas webhook test send command fires a simulated webhook event to a URL you specify. Pass the destination URL as the positional argument. Use it to verify your endpoint is reachable and can handle a webhook request before going live.

Written by Qasim Muhammad Staff SRE

What does nylas webhook test send do?

The nylas webhook test send command fires a simulated webhook event to a URL you specify. Pass the destination URL as the positional argument. Use it to verify your endpoint is reachable and can handle a webhook request before going live.

Usage

nylas webhook test send <webhook-url>

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

Examples

Send a test event to a public endpoint

nylas webhook test send https://example.com/webhook

Send to a local tunnel

nylas webhook test send https://example-tunnel.trycloudflare.com/webhook

Troubleshooting

Connection refused

Verify the URL is reachable. For localhost URLs, ensure your server is running on the correct port.

Need a specific trigger payload

Use nylas webhook test payload <trigger> to generate a deterministic payload for a specific trigger type.

Recommended guides

Run nylas webhook test send --help for full help output.