Creating a customized web form for ticket generation

Creating a customized web form for ticket generation

Hi,

I'm trying to create a customized web form for support tickets in my website. The Advanced Web Form solution does not work for me out-of-the-box because it requires a 1:1 mapping between zoho fields and webform fields (e.g. I can't concatenate "Request Type" and "Order ID" into the "Subject" field).

I was redirected to use the Desk APIs instead. Unfortunately, Oauth doesn't work for me because my website is hosted on Shopify. I have no model / controllers to store the access tokens and refresh them using the refresh tokens - Shopify gives us extremely limited access to the backend.

I tried auth tokens but I keep getting an "errorCode: UNAUTHORIZED" response.

My questions are:
1) Do auth tokens not work anymore? I'm aware of the security implications of auth tokens but I'm okay with them in the short-term since Oauth is infeasible for me.

2) Alternatively, the Advanced Web Forms must use some form of authentication with Zoho. Can I simply extract these fields from the generated code and send them in my own POST request to your backend ["https://desk.zoho.in/support/WebToCase"]? There are many hidden fields and a ton of javascript in the generated code so I wanted to check with you before using this approach.
I think these are the only fields I need to include? <input type="hidden" name="xnQsjsdp" value="" /> <input type="hidden" name="xmIwtLD" value="" /> <input type="hidden" name="actionType" value="" /