Can I proxy web widget contact form request submissions to my server? | Community
Skip to main content

Can I proxy web widget contact form request submissions to my server?

  • November 8, 2022
  • 1 reply
  • 0 views

Alicia12

Question

Is it possible to have all submissions of our Web Widget contact form proxy to my company's web server and then have our server handle sending the request to the Zendesk Requests API?

Context

My team would like to intercept an end-user's submission from the Web Widget contact form so that we can add some sensitive metadata to the support request which we later use for authorization of access to patient data. Instead of adding this data client-side, we want to do it on our server so we can guarantee it is untampered with.

The ideal flow would be: 

  1. The end-user encounters our Web Widget's contact form and submits their support request
  2. This request hits a webhook on our web server that we register with Zendesk. In this endpoint, we take the request and add some additional metadata to it, like if the authenticated filer of the ticket has the authority to access PHI for the patient requested in the ticket.
  3. Our web server forwards the original request + additional metadata to the Zendesk Requests API to create a support ticket

Is this possible? Thank you!

1 reply

Eric27
  • November 10, 2022
Hey Alicia,

It looks like Ahmed answered your question in the other thread. Let me know if you still have any questions!