Unable to send Live Agent Message back to third party application using Virtual Agent API

Tushar Sharma2
Kilo Guru

I am using Virtual Agent API to integration third party chat bot. I am able to initiate a chat with Live Agent and able to send multiple messages to the same Agent Queue but unable to receive messages back from Live Agent to third party chat bot.
Below are the request I am using to initiate the chat and able to send multiple messages by change text value in the below JSON format: 

 

{
  "action":"AGENT",
  "requestId": "MSG0234",
  "botToBot": true,
  "clientId": "CLT024",
  "silentMessage": false,
  "message":{
    "text": "Live Agent Support.",
    "typed": true,
    "clientMessageId": "CLM0007"
  },
  "userId":"test@gmail.com",
  "emailId":"test@gmail.com"
}

 

After investigation on this I found that all the text type of messages from conversation Message (sys_cs_message) table are in pending state and not processing : 

TusharSharma2_0-1709215328492.png
 
TusharSharma2_1-1709215653128.png

Anyone has any idea on this ?

0 REPLIES 0