Validating Webhook URL

I’m having trouble validating my URL for Webhooks. I am capturing the challenge token and writing it to a logs table in my MySQL DB so I know that I am receiving the challenge, however, the below script does not work. Any insight would be much appreciated!

< script type=“text/javascript” >“/”, function (req, res) {
console.log(JSON.stringify(req.body, 0, 2));
< /script >

Hello @jweinacker and welcome to the community!

Would you be able to please send an email to with a screen recording of the steps you are taking, your webhook’s configuration with the URL, the script you have and the error you are seeing?

We can take a look from there :slightly_smiling_face:


Thanks Matias! Please view the video attached.

(Attachment Monday_webhook_video.wmv is missing)

Thanks Matias! Please view the video attached. I look forward to your response!

Hello @jweinacker!

I can see your alert on line 3 is not in the same function as line 5.

Are you sure your line 5 is being accessed?

What happens if you add a console.log in the function from line 4, before sending the challenge back?

Do you see it in your console in your browser?

Hey Matias, please see the video attached. I’m console logging before, during and after the post function

Is there a better way to do this other than this JS script. I can post the challenge back to you, but where do I make the request to? Sorry I have 3 high level developers on this, and we honestly can’t figure this out from the documentation…

Hello again,

Can you please send an email to

We might need to hop on a call to take a look into this together.

Looking forward to hearing from you!