Open
Description
🐛 Describe the Bug
POST /locations/{locationId}/contacts/search ignores filters on custom fields.
Example: filtering on our custom field Relationship Number always returns an empty list, even though the value exists on the contact. Native fields (email, phone) work as expected.
📍 API Endpoint
/locations/{locationId}/contacts/search
✅ Expected Behavior
If I supply a filter on customFields.Relationship Number (or the custom field ID), the endpoint should return the matching contact.
💻 Screenshots or Code Samples
POST /locations/{locationId}/contacts/search
{
"filters": [
{
"field": "customFields.Relationship Number",
"operator": "eq",
"value": "R-123456"
}
],
"limit": 1
}
Product Area
contacts
🧠 Additional Context
Issue affects ~600 k records in our Customer-Success sub-account.
Contact: Tyler Zastrow (Slack @tyler Zastrow / tyler.zastrow@gohighlevel.com).