---
title: Search by Criteria API.
description: "Issue - We are not able to search the lead via phone number using the Search Lead by Criteria API (https://api-in21.leadsquared.com/v2/LeadManagement.svc/Leads.Get?). Resolution - Seach Lead By Criteria API works in a different way where it will show ..."
url: "https://supportb.kinsta.cloud/docs/search-by-criteria-api/"
updated: "2023-09-27"
category: API FAQ
---

# Search by Criteria API.

![](https://static.zohocdn.com/zoho-desk-editor/static/images/file.png)**Issue**- We are not able to search the lead via phone number using the Search Lead by Criteria API (**https://api-in21.leadsquared.com/v2/LeadManagement.svc/Leads.Get?**).

![](https://static.zohocdn.com/zoho-desk-editor/static/images/lights.png)**Resolution**- Seach Lead By Criteria API works in a different way where it will show the leads only if all the values provided match.

Example:- 

The parameter which is passed in the body is 
{    "Parameter": {        "LookupName": "Phone",        "LookupValue": "+91-97xxxxxxxx",        "SqlOperator": ">"    },    "Columns": {        "Include_CSV": "ProspectID, FirstName, LastName, EmailAddress"    },    "Sorting": {        "ColumnName": "CreatedOn",        "Direction": "1"    },    "Paging": {        "PageIndex": 1,        "PageSize": 100    }}

So in the LookupValue if you pass the value as 91xxxxxxxx it will not show any value in the result, you will need to pass the whole number like +91-91xxxxxxxx then the API will return the leads details.

Thank You,
Satyam Kumar.
