Recent searches


No recent searches

Get Ticket Field API for Anonymous Users



Posted Mar 09, 2023

Hey :)

What would be the secure way to get the ticket field API as an anonymous user? Sending the token in the authorization header could be a solution, but not secure. What other approaches are there here or alternatives for a secure way to communicate with the API.

Thanks in advanced


1

6

6 comments

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hey Carlos! We don't have any way of returning tick fields to anonymous users, but we do have a bit of a workaround that may work for you. With the Show Many Ticket Forms API, you can return the fields in a particular form to anonymous users. For some reason the singular version of this API requires credentials, so you would just pass in the ids as part of the "many" query.

0


Hi Greg :) thanks for the quick answer. However, api/v2/ticket_forms/show_many?ids= doesn't solve the issue because I don't get any information regarding which values or type of field I'm getting. It's only returning the field id, but nothing else :(. Maybe there's another way to get this information about the field ?


Thanks ! 

0


image avatar

Greg Katechis

Zendesk Developer Advocacy

I don't believe that there will be any way to accomplish that then. Could you share your use-case so I can see if I can give you another option?

0


Yeah sure thanks for the help ! My use-case is to recreate the new request form dynamically in an external website. The idea is that the changes made in the admin center would reflect directly in the form of the external website (conditions, order, fields, etc).

0


image avatar

Greg Katechis

Zendesk Developer Advocacy

In that case, I would recommend that you set up a middleware service that pulls your data in from Zendesk with an API token in a safe environment and then you can pass that data from your middleware to the website with whatever authentication methods work for you. It is an extra step, but it would ensure security and keep things relatively up to speed, if not for a bit of a delay while it's going through the middleware layer.

-1


Greg Katechis, please I'm begging you, could you please respond to this issue here: https://support.zendesk.com/hc/en-us/community/posts/4408861024794-Zendesk-OpenAPI

You indicated a long time ago that you would have some news available for us very soon, but we haven't heard from you since and you don't seem to respond to people tagging you in that response so I had to find you here instead.

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post