I am using the Web Messaging Guest API. I create a session, start the conversation by sending a message and listen to my WSS connection, but the correlationId that I wrote with the agent to correlate the incoming messages with my customer via outbound is empty on the Metadata. Example:
"{
"type": "message",
"class": "StructuredMessage",
"code": 200,
"body": {
"text": "Control Outbound CorrelationId",
"type": "Text",
"direction": "Outbound",
"id": "86d50ad52655410c2de7295c7ba0XXXX",
"channel": {
"time": "2024-09-20T10:54:02.680Z",
"type": "Private",
"from": {},
"to": {}
},
"metadata": {},
"originatingEntity": "Human"
}
}"
but in the document there is correlation id in metadata even if I try to edit it by allowing all permissions I couldn't get the correlationId, here is the response I mentioned: "https://developer.genesys.cloud/commdigital/digital/webmessaging/websocketapi#outbound-message---plain-text"
Can someone who knows please help?
How can I correlate the message coming from the outbound agent in the wss where I listen to my session that I configured without being authenticated?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.