Skip to main content

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:

  1. You can open a contact profile to see all conversations
  2. You can use the search option:

Inbox _ Platform Test _ Intercom (3)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