# Filtering by Custom Field

**URL:** <https://community.servicem8.com/t/filtering-by-custom-field/496>\
**Category:** API & SDK\
**Created:** [August 9, 2023, 4:29am UTC](https://community.servicem8.com/t/filtering-by-custom-field/496 "2023-08-09T04:29:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [August 9, 2023, 4:29am UTC](https://community.servicem8.com/t/filtering-by-custom-field/496/1 "2023-08-09T04:29:04Z")

</div>

**Originally posted by Anthony Archer**

Hi.

I get correct results when filtering the API on a custom field like this:

company.json?%24filter=customfield\_prop\_id%20eq%20123

If I search for something that shouldnt result in a match it always returns the first company/client in the list of clients. eg Changed search value to unused value:

company.json?%24filter=customfield\_prop\_id%20eq%2012333333
