Skip to content

Bug: /contacts/search can’t filter by custom fields (e.g., Relationship Number) #42

Open
@tylerzastrowghl

Description

@tylerzastrowghl

🐛 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-missing-api-fieldSomething isn't working in the Highlevel API or fields are missing in the API Endpoints.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions