How to get live messages or connect chat messages through the API?

Kirti Kumar
Kilo Contributor

Hi Everyone,

Greeting for the day!!!

Could anyone tell me how could i get connect chat messages through the means of the API.

I am using London  developer instance in which i am having chat between system administrator and Abel tuter(impersonate user). My requirement is to get the chat transcript by the means of the API(Rest or Table API).

Please suggest me on this so that i could move on with this development.

Regards

Kirti Kumar

9 REPLIES 9

Harsh Vardhan
Giga Patron

you can use "live_message" table to get the chat conversation details. 

 

sysparm_query : specify the query to filter the result. 

 

find_real_file.png

 

 

 

If my answer helped you, mark it as correct and helpful.

Hello Harshvardhan,

Thank you for your quick reply.

I have checked the same Live feed message with profile id but its giving empty result like this:-

{
  "result": []
}

Please suggest me how to get chat messages in result.

Regards,
Kirti Kumar

Did you search the record in "live_message" table , for that profile record exist ?

Hi,

yes i am checking the same but  still not getting anything.

find_real_file.png

 

Regards

Kirti kumar