Empty
Hi, @syousef
I’d recommend starting here, as there are several solid examples provided — Filter search results
Here’s a quick test based on what you asked for:
I am searching for a Contact with the email of pickle@cat.com
POST https://api.hubapi.com/crm/v3/objects/contacts/search
Body JSON
{
"filterGroups":[
{
"filters":[
{
"propertyName": "email",
"operator": "EQ",
"value": "pickle@cat.com"
}
]
}
]
}
Response
{
"total": 1,
"results": [
{
"id": "551",
"properties": {
"createdate": "2022-08-11T23:27:36.511Z",
"email": "pickle@cat.com",
"firstname": "Pickle",
"hs_object_id": "551",
"lastmodifieddate": "2022-08-31T17:47:52.422Z",
"lastname": "Cat"
},
"createdAt": "2022-08-11T23:27:36.511Z",
"updatedAt": "2022-08-31T17:47:52.422Z",
"archived": false
}
]
}
Have fun coding! — Jaycee