Identifying sender of chat messages in transcript

Hello.
I am getting chat transcript new ConversationsApi().getConversationsChatMessages(GetConversationsChatMessagesRequest.builder().withConversationId(*conversationId*).build()).
Could you help me, how can I found out, which participant sent which message in the transcript?
Unfortunately the webChatMessage.getSender().getId() does not return the participant id.

Thanks

Hello,

  • With "Get conversation" - GET /api/v2/conversations/{conversationId}:
    The the senderId (for each participant) is what appears in the participant structure, in the chats array --> "id" attribute of the chat object.

  • With "Get a conversation by id" - GET /api/v2/analytics/conversations/{conversationId}/details:
    The senderId (for each participant) is what appears in the participant structure, in the sessions array --> "sessionId" attribute of the session object.

Regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.