Query by more than one parameters


#1

I am using search for contact api for to get the desired contact. But according to customer requirement, I want to get contacts satisfying two or more query parameters.
In short, I expect a person having name ABC and he/she working in PQR company. OR
a person with first name ABC and last name XYZ. Can I do it? How do I write the query?
Consider different use case and let me expected query. TIA


#2

Hi @Prasad_Satalkar,

It’s not currently possible to include multiple search terms in requests to the ‘Search for contact’ endpoint. If you need to get contacts that meet multiple criteria, you can use the Contact Lists API to create smart lists that include all of your parameters: