Authentication casesearchapi

Hi

I am getting 401 for call to casesearcheverything api call

The calls works for my company domain swagger but what should I be looking to  configure authentication via code ? Ex any headers , key-secret , auth calls ?

I am using Java/springboot as dev env.

Appreciate any pointers thanks

0 3 54
3 REPLIES 3

Hello,

To try to troubleshoot you can search the payload used in the CaseSearchEverything' API call. You can do the following.

go to Search in the UI and open Developer Tools in Chrome.

Search for the cases.

Look for the "CaseSearchEverything" api call in DevTools.

Compare the JSON payload of the POST request to what you're sending.

Also cross reference with the request/response headers

I figured out it needs Appkey header, with that the api calls work, now working on the mandatory fiters etc in response body

 

Btw whats the link to seach UI ?

Happy you figured it out! If you just navigate to your SOAR URL and click on the search tab.