# Webhook endpoint url issue

**URL:** <https://forums.nylas.com/t/webhook-endpoint-url-issue/218>\
**Category:** Question and Answers\
**Created:** [June 13, 2024, 4:33pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218 "2024-06-13T16:33:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjinder](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@manjinder](https://forums.nylas.com/u/manjinder)\
**Post date:** [June 13, 2024, 4:33pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/1 "2024-06-13T16:33:35Z")

</div>

I’ve created webhook in sandbox environment. I want to test it in my rails app. To make it public I am using ngrok , which is not supported by nylas , nor even hookdeck support get request . what should I do . I want to fetch the responses of created webhook.

---

<div class="post-metadata">

**Author:** ![ram](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/ram/32/3_2.png) [@ram](https://forums.nylas.com/u/ram)\
**Post date:** [June 13, 2024, 7:49pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/2 "2024-06-13T19:49:52Z")

</div>

@manjinder thanks for sharing, let me take a look and follow up!

---

<div class="post-metadata">

**Author:** ![ram](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/ram/32/3_2.png) [@ram](https://forums.nylas.com/u/ram)\
**Post date:** [June 14, 2024, 3:25pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/3 "2024-06-14T15:25:22Z")

</div>

Hi @manjinder, here are a few resources to help:

- [How to set up Webhooks in Nylas API v3 using Pipedream](https://www.nylas.com/blog/how-to-set-up-webhooks-in-nylas-api-v3-using-pipedream/)
- [Developer Dashboard](https://dashboard-v3.nylas.com/): create webhooks manually and confirm if the webhook is registered:

 ![Screenshot 2024-06-14 at 11.23.11 AM](https://us1.discourse-cdn.com/flex015/uploads/nylas3/original/1X/977f6554254796866b9b453c9dc830f18d203c31.png)

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [June 24, 2024, 8:06pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/4 "2024-06-24T20:06:00Z")

</div>

Hello @manjinder while not entirely related, I posted a blog on how to use Ruby and Sinatra to create and read webhooks 🙂

> **[How to create and read Google Webhooks using Ruby](https://www.nylas.com/blog/how-to-create-and-read-google-webhooks-using-ruby/)**
>
> Create and read your Google webhooks using Ruby and Sinatra, and publish them using Koyeb. Here's the full guide.

---

<div class="post-metadata">

**Author:** ![philseeman](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@philseeman](https://forums.nylas.com/u/philseeman)\
**Post date:** [August 4, 2024, 5:14pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/5 "2024-08-04T17:14:59Z")

</div>

@ram @Blag  
I am similarly stuck - I want to set up a webhook and to test it with my app running locally on my machine, I set up an ngrok endpoint. But when I plug in that ngrok endpoint into the “Webhook URL” field of the “Create a webhook” page on the developer portal, I get the error message “Webhook URL is not secure.”

How can I set up and test my webhook on my machine locally using ngrok (or some alternative to ngrok)? There has to be a way to test it locally??

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [August 4, 2024, 6:13pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/6 "2024-08-04T18:13:57Z")

</div>

@philseeman For localhost, Bruno is a great alternative 🕶 Here’s a blog post that talks about it [How to create and read webhooks with PHP, Koyeb, and Bruno | Nylas](https://www.nylas.com/blog/how-to-create-and-read-webhooks-with-php-koyeb-and-bruno/)

There’s also [https://hookdeck.com/](https://hookdeck.com/) which is similar to ngrok

Now, there are free web alternatives and my favorite ones are [https://www.koyeb.com/](https://www.koyeb.com/) and [https://render.com/](https://render.com/)

All that said, you can use this endpoint [Nylas v3 Administration API docs | Nylas Docs](https://developer.nylas.com/docs/api/v3/admin/#post-/v3/webhooks/mock-payload) to get mock payloads so that you can know what to expect from a webhook

---

<div class="post-metadata">

**Author:** ![philseeman](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@philseeman](https://forums.nylas.com/u/philseeman)\
**Post date:** [August 4, 2024, 7:12pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/7 "2024-08-04T19:12:07Z")

</div>

Thanks very much for the quick reply and the info, @Blag! I will definitely check out the alternatives you mention.

Do you know why these other services are allowed but ngrok is not? I already pay almost $100/year for ngrok; it’s sad that I can’t use it with Nylas.

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [August 4, 2024, 11:10pm UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/8 "2024-08-04T23:10:33Z")

</div>

@philseeman Sadly…I guess we used to recommend ngrok to test webhooks, and people start using it or abusing it in some cases…that’s why they don’t link like us very much 😅

---

<div class="post-metadata">

**Author:** ![philseeman](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@philseeman](https://forums.nylas.com/u/philseeman)\
**Post date:** [August 5, 2024, 2:17am UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/9 "2024-08-05T02:17:19Z")

</div>

Interesting! In any case, thanks again for the recommendation - I got Hookdeck up and running quickly and it works perfectly to allow me to test my webhook processing function locally.

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [August 5, 2024, 11:13am UTC](https://forums.nylas.com/t/webhook-endpoint-url-issue/218/10 "2024-08-05T11:13:30Z")

</div>

Awesome! 🥳 I’m glad it works for you 🕶
