I am trying to search for a user based on an email using the v2.8 intercom API.
If I retrieve a specific contact using this URL
https://api.intercom.io/contacts/63e271ce28fe8babf612b417/code>I get the contact object as expected. If I then use the email of the response to search for that contact like so
https://api.intercom.io/contacts/search/code>with this body
{
"query": {
"field": "email",
"operator": "=",
"value": "my email"
}
}
I get the following response
{
"type": "error.list",
"request_id": "0000i0aso7mmifvpqc1g",
"errors":
{
"code": "not_found",
"message": "User Not Found"
}
]
}
Any hints on what the problem is?