We are trying to build a zapier app where we want to use Rest Hook mechanism to fire the triggers. Here the challenge we are facing is that our Backend System, by design, validates the webhook Url provided to its subscribe API. To validate the webhook URL our backend does the following on receiving the subscribe API call:
- Generates a random token
- Sets this token against a custom key in header, say “Validation-Token”
- Calls the webhook URL with above request header
- Expects a 200 response and the same token in the response header.
You can also refer the official documentation here: https://ringcentral-quickstart.readthedocs.io/en/latest/webhooks/
To achieve the above contract, we will require to alter the webhook output/response. But I don’t see any way to do this in zapier documentation. For reference, I can see below kind of response being returned by zapier webhook url
I can see this problem being faced by many app developers as many backend systems incorporate this kind of validation in their subscribe API, like below:
Please confirm if zapier provides this capability to alter webhook output/response. Also, suggest if there is any way around for this kind of integration.
Best answer by ZaneView original