Skip to main content
Answered

How do I get conversations of a contact?

  • February 3, 2021
  • 3 replies
  • 180 views

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

@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.

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

3 replies

Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • February 3, 2021

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.

 


  • Author
  • New Participant
  • 2 replies
  • February 3, 2021

via API


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • February 3, 2021

@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


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