Problem with Search for contacts by various criteria

contacts

#1

I have a problem with the search, if I search with some properties, if you do it for example:

https://api.hubapi.com/contacts/v1/search/query?q=Jhonny&hapikey=hapikey

{
“query”: “Jhonny”,
“offset”: 2,
“has-more”: false,
“total”: 2,
“contacts”: [
{
“vid”: 1,
“canonical-vid”: 1,
“merged-vids”: [],
“portal-id”: 2767465,
“is-contact”: true,
“profile-token”: “AO_T…cZYe”,
“profile-url”: “https://a…hscZYe/”,
“properties”: {
“firstname”: {
“value”: “Jhonny
},
“hs_analytics_last_url”: {
“value”: “”
},
“city”: {
“value”: “Cambridge
},
“cedula”: {
“value”: “1104811482001

But I have problems with other properties:
https://api.hubapi.com/contacts/v1/search/query?q=Cambridge&hapikey=hapikey
{
“query”: “Cambridge”,
“offset”: 0,
“has-more”: false,
“total”: 0,
“contacts”: []
}

Or

https://api.hubapi.com/contacts/v1/search/query?q=1104811482001&hapikey=hapikey
{
“query”: “1104811482001”,
“offset”: 0,
“has-more”: false,
“total”: 0,
“contacts”: []
}


#2

@Jhonny_Zaruma I sent you a message in your original post as well. The search query endpoint only searches a contact’s name and email to find a match and not other properties.