# Elasticsearch Kibana API - Case Management filtering via API requests

**URL:** <https://discuss.elastic.co/t/elasticsearch-kibana-api-case-management-filtering-via-api-requests/320136>\
**Category:** Kibana\
**Created:** [November 30, 2022, 10:14am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-api-case-management-filtering-via-api-requests/320136 "2022-11-30T10:14:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yzaritskyi](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@yzaritskyi](https://discuss.elastic.co/u/yzaritskyi)\
**Post date:** [November 30, 2022, 10:14am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-api-case-management-filtering-via-api-requests/320136/1 "2022-11-30T10:14:25Z")

</div>

Hey all!

I'm investigating the REST API of Kibana. I'm interested in the implementation of some automatization processes using our SOAR.

I have configured the Webhook for Case Management, and now I get the Cases when some are created. But the data sent by webhook is too little, and I want to perform some actions with the Case that was sent. To perform most API actions with the Case I need to get the Case id.

To do that, I sent the API call [Find Cases](https://www.elastic.co/guide/en/kibana/8.5/cases-api-find-cases.html#cases-api-find-cases), then I got the list of all cases and find one I'm interested.

My question is: Is there a way to send the same API call I do, but with some filters? For example, could I send an API call that will find all cases with a specific title, user assignees, severity, etc?

I will be glad to see some examples if someone can provide them. Thank you!

---

<div class="post-metadata">

**Author:** ![yzaritskyi](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@yzaritskyi](https://discuss.elastic.co/u/yzaritskyi)\
**Post date:** [November 30, 2022, 10:30am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-api-case-management-filtering-via-api-requests/320136/2 "2022-11-30T10:30:12Z")

</div>

I performed this API call to find a specified case, but only one field for filtering is not enough for me.

 ![1111](https://us1.discourse-cdn.com/elastic/original/3X/9/5/9534e7325f70c9de5639f378552b657fcc2815b9.png)

How could I find a case for example _"title": x AND "description": y_.

This query doesn't work:

 ![2222](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4eaf3985a2cb2144de032fa4ed350e633b2a9d46.png)

It returns me the two Cases:

The first one is the right one that is was looking for.  
_title: "case made by alert escalation"_  
_description: "description made by analyst"_

But also, there is one more Case with values:  
_title: "case testing"_  
_description: "that's description made by analyst"_

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 28, 2022, 10:31am UTC](https://discuss.elastic.co/t/elasticsearch-kibana-api-case-management-filtering-via-api-requests/320136/3 "2022-12-28T10:31:06Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
