Question

Hide Zapier webhook URL

  • 21 August 2023
  • 1 reply
  • 117 views

So I am using a Zapier webhook on my custom site to post some parameters to be passed on to the next application.

My concern is that, currently, the URL is visible to anyone by simply inspecting the page and looking at the JavaScript function.

How can I hide it more securely/is this even a concern?

 

Here is an example snippet of the code:

                            var webhookURL = "https://hooks.zapier.com/hooks/catch/XXXXXX/";

 

                            var data = {

 

                                "First Name" : userName.value,

                                "Email" : userEmail.value,

                            };

 

                            request.open("POST", webhookURL, true);


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @Financial Birds and Bees 

Good question.

From Zap help articles about webhooks: https://zapier.com/apps/webhook/help

But if you make the URL public (e.g. in front-end JavaScript) anyone who finds it will be able to spam it and trigger your Zap. Treat it as a password or any other secret!