Using Search API without Authorization.

답변함


2022년 10월 03일에 게시됨

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개

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물