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?
Hello @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:
- You can open a contact profile to see all conversations
- You can use the search option:
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.
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.