Only show these results:

Testing Webhooks

You can monitor webhooks with the Nylas CLI. The tunnel command allows you to test webhooks against your local server. Learn more about this process in the Webhooks guide. There are two ways to test webhooks using the CLI. You can use the CLI or you can set up a local server.

nylas webhook [command] [flag]   

Create Webhooks

Currently, API requests to POST webhooks are not supported through the CLI.

CLI

Use the command nylas webhook tunnel --print. The print command is optional. It will print the webhook object to the terminal.

Local Server

If you prefer, you can test webhooks using the CLI and the local server. Just tunnel the webhooks to the server URL.

Use the command nylas webhook tunnel -f [domain] and replace domain, with your domain.

If using a local server, make sure you have the following:

What's Next