Skip to main content
Answered

Output when creating a conversation


The documentation for Creating a Conversation (sample response below) says that the ID representing the conversation is returned as a response. (conversation_id). However, when testing this, I'm only seeing the ID of the specific message - rather than the conversation_id of the conversation.... only type through message are returned.

 

HTTP/1.1 200 OK

{

"type": "user_message",

"id": "2001",

"created_at": 1401917202,

"body" : "Hey, is the new thing in stock?",

"message_type": "inapp",

"conversation_id": "36000324324"

}

 

How can I find the ID of the conversation?

 

 

Best answer by Roy

Hello @kevin g11​ , "conversation_id": "36000324324" this should be a Conversation ID.

 

Example:

{

  "type": "user_message",

  "id": "824004685",

  "created_at": 1619507956,

  "body": "Hello",

  "message_type": "inapp",

  "conversation_id": "298"

}

 

Intercom

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

3 replies

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

Hello @kevin g11​ , "conversation_id": "36000324324" this should be a Conversation ID.

 

Example:

{

  "type": "user_message",

  "id": "824004685",

  "created_at": 1619507956,

  "body": "Hello",

  "message_type": "inapp",

  "conversation_id": "298"

}

 

Intercom


  • Author
  • New Participant
  • 1 reply
  • April 27, 2021

Hi Roy - thanks for getting back to me. I should have clarified:

The response is NOT including conversation_id as a parameter. (We're also using a intermediary called tray.io - rather than interacting with intercom's apis directly.)

 


Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • April 27, 2021

@kevin g11​ , I'm not familiar with Tray.io, I tried to open a trial account but afraid it's not available.

 

With Intercom API, it's working fine. The best way here will be to contact Tray.io support about this issue.

 

I hope this will be helpful.


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