Skip to main content

I want to fetch a user's conversations with this endpoint, but it currently returns all the conversations my team has had. I implemented this code using Intercom’s documentation but it does not work as expected: https://developers.intercom.com/docs/references/1.2/rest-api/conversations/list-conversations

const response = await fetch(`https://api.intercom.io/conversations?type=user&intercom_user_id=${user.intercomId}`, {

method: 'GET',

headers: {

'Authorization': `Bearer ${accessToken}`,

'Accept': 'application/json'

}

})

Hi @Nathan Sudds @Milan adding you here in case you have any ideas on that 🙌


Hey @canbalkaya 👋 Jacques here from support engineering.

You can actually use the Search Conversations endpoint to retrieve a list of Conversations based on the User associated with it.

You can specify the contact_id to get the User ID associated with those conversations and it will return only those Conversations :)


Reply