Skip to main content
Answered

API search for customers where a custom data attribute "has any value"

  • October 23, 2020
  • 1 reply
  • 280 views

The Intercom API allows for searches where a data attribute "has any value". I'm looking to perform a similar search through the API but "known" is not an "operator". I see the UI is using the old /users API, wondering if this search is available using the new contacts API. Thank you.

Best answer by Rob M11

Looks like

 

"query": {

"field": [field],

"operator": "!=",

"value": null

}

 

does the trick

View original
Did this topic help you find an answer to your question?

1 reply

  • Author
  • New Participant
  • 1 reply
  • Answer
  • October 23, 2020

Looks like

 

"query": {

"field": [field],

"operator": "!=",

"value": null

}

 

does the trick


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings