Using Search API without Authorization.

Avec réponse


Publication le 03 oct. 2022

Hello,

Is there some way to use Search API without 'Authorization' in header request?

Let me describe my case: I've my app in Chat.
In this app I want to use Search API for finding a user info:

https://mysite.zendesk.com/api/v2/search.json?query=type:user someuser@email.com

But if I use such a request, then I need to use the 'Authorization' parameter with an encoded token in the header. And my question is - can I somehow not use the token when requesting, since such a token becomes visible to all users of the site.


1

3

3 commentaire

Glad that worked for you!

0


Thank a lot, Greg - It was really helpful!

2


Hi Ruslan! What you will want to do here is use secure settings, which will prevent your token from being visible. 

1


Vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication