How to find deals by contacts list

Hi, community.

I would like to be able to find deals associated with a list of contacts. I’m trying to use the filtered_search request for it, but it doesn’t work:

POST /filtered_search/deals

{
    "filter_rule": [
        {
            "attribute": "contact_ids",
            "operator": "is_in",
            "value": [31001125791]
        }
    ]
}

Something is probably wrong with the “attribute” or “operator”…

Any ideas?

Hi Pavel,

Welcome to the Freshworks developer community!

As per the Product API documentation, there seems to be no public API exposed for filtered_serach/deals

I would suggest you to try out the search or lookup_search if it solves your use case.

Thanks

Hi Anand,

Unfortunately, the search and lookup_search requests don’t seem to solve my problems.
The semantics of the filtered_search looks like what I’m looking for, so it would be nice to get some feedback from the developers, maybe it’s possible but just not documented.

@Pavel_Nedelko Good Day!

let me check with the product team and get back to you on the possibilities.

Thanks

1 Like