# Filtering companies

**URL:** <https://forum.mautic.org/t/filtering-companies/32242>\
**Category:** General Discussion\
**Created:** [June 2, 2024, 1:18pm UTC](https://forum.mautic.org/t/filtering-companies/32242 "2024-06-02T13:18:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [June 2, 2024, 1:18pm UTC](https://forum.mautic.org/t/filtering-companies/32242/1 "2024-06-02T13:18:19Z")

</div>

It seems to work to filter companies by fields when searching for certain values. Is there also a way to filter for empty values?

I tried “” or null, but they don’t work.

Update: It works through API though, similar to filtering contacts. Although documentation says there is no filtering for companies via API 😉

If you like to try - example:

```auto
/companies?where%5B0%5D%5Bcol%5D=field_ID&where%5B0%5D%5Bexpr%5D=isNull

```

it reads like this: where[0][col]=field\_ID&where[0][expr]=isNull

It looks for companies, where the field “field\_ID” is null.  
Unfortunately it doesn’t work in the frontend, if I try “field\_ID: isNull”.
