How do I get conversations of a contact? There are methods for getting all conversations and all contacts? Should I loop through all conversations to filter the ones that belong to a given contact?
Best answer by Roy
View originalHow do I get conversations of a contact? There are methods for getting all conversations and all contacts? Should I loop through all conversations to filter the ones that belong to a given contact?
Best answer by Roy
View originalHello @user876​ ,
Q - How do I get conversations of a contact?
A - You want to get conversations from the Intercom app or via API?
Â
From Intercom App:
Let me know if you want to get conversations via API to provide further instructions.
Â
via API
@user876​ , In this case, you should use Conversation Search API.
Â
Sending post request to "https://api.intercom.io/conversations/search/b>"
Request:
======================
{
 "query": {
  "field": "contact_ids",
  "operator": "=",
  "value": "Intercom Contact ID"
 }
}
======================
🦄 I hope this will be helpful, Let me know if you have any further questions.
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.