3 Replies Latest reply on Jul 2, 2018 5:18 PM by Sanford Whiteman

    rest api / filter by null custom field

    Earl Hathaway

      Hi All,


      We've created a custom field on our leads.  We have values syncing in.


      The only thing I can't figure out is this: one requirement is that we be able to filter leads that have not yet had a value inserted into the custom field.  Does anyone have any idea?  I've tried every way I can think of to encode null in a request ala



      curl -XGET /rest/v1/leads.json?filterType=dgid&filterValues=&access_token=[...]


      I've tried: filterValues=null, =&, ="" url encoded, ='', =, etc.  Nothing seems to work.  Does anyone have any suggestions?


      Thanks very much for your help.