We are confused what is the communicationId we have to use for this API
I thought the sessionId of the customer session extracted from conversation analytic API is the communicationId
But I have 2 web messaging conversations
For conversation : 3262befa-423d-46e0-9984-e4fb04c7f363 the communication id is the sessionId of the customer session
But for conversation : f0361843-18b6-43de-8ab7-49e211ac6d2f the communication is the peerId of the customer session.
I am confused which id I have to use as communicationId for the transcriptURL API and how I can extract the communication ID.
I will share the conversationDetails in a seperate message in this thread - would appreciate if someone who has extracted the transcript can assist.
conversationdetail_peerId_conversation.json (11.8 KB) conversationdetail_sessionId_conversation.json (69.1 KB)
ConversationId:f0361843-18b6-43de-8ab7-49e211ac6d2f the
For this conversationId I have to use the peerId of the customer session to get the transcript
PeerId:d40b94f7-72f1-49e0-b2a6-56d041a9a020
/api/v2/speechandtextanalytics/conversations/f0361843-18b6-43de-8ab7-49e211ac6d2f/communications/d40b94f7-72f1-49e0-b2a6-56d041a9a020/transcripturl
ConversationId:3262befa-423d-46e0-9984-e4fb04c7f363
For this conversation I have to use the sessionId:6f43ae5b-3437-410a-b93c-5bc406b6c625 of the customer session - invoking transcriptURL API with peerId fails conversationdetail_sessionId_conversation.json (69.1 KB)
Both are web messaging conversations - one is a bit long then the other but other then that I am not sure what is the difference - why in one case peerId has to be used as communicationId and the other we have to use sessionID
If Bob and Alice are talking and Bob has a sessionid (simplified) of 4 and Alice has a sessionid of 6 then bob will have a peerid of 6 and Alice a peerid of 4. It's a circular reference.
So if you wanted both sides of that conversation you'd need use both 4 and 6.