I am using Zapier web builder to create a Zapier APP. I have rest hooks, when I subscribing for a hook API sends a verification challenge code, this comes in the perform
Here is the content that I am receiving in query string :
I want to modify the return response and status code.
Please advise?
Thanks
Best answer by ikbelkirasan
@codetycon - As far as I understand it, when a new webhook request is received, Zapier would automatically respond with a 200 response like the one shown above before passing the request content to the app. Unfortunately, it’s not possible to change this behavior. Therefore, it is not possible to support webhooks that need verification like yours.
One way around it would be a proxy/middleware that handles the verification part and forwards any other requests to the actual Zapier webhook URL. You might want to take a look at Cloudflare Workers which I’ve personally used to implement this kind of integration.
@codetycon - As far as I understand it, when a new webhook request is received, Zapier would automatically respond with a 200 response like the one shown above before passing the request content to the app. Unfortunately, it’s not possible to change this behavior. Therefore, it is not possible to support webhooks that need verification like yours.
One way around it would be a proxy/middleware that handles the verification part and forwards any other requests to the actual Zapier webhook URL. You might want to take a look at Cloudflare Workers which I’ve personally used to implement this kind of integration.