Búsquedas recientes


No hay búsquedas recientes

Using Search API without Authorization.

Respondidas


Publicado 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 comentarios

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


Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación