Hello Karthik,
The communicationId is the sessionId of the participant, so for an incoming message interaction you can use
/api/v2/analytics/conversations/${input.conversationId}/details
using Input Contract (String) conversationId and Output Contract (String) communicationId
and the following translationMap
{
"translationMap": {
"communicationId": "$.participants[0].sessions[0].sessionId"
},
"translationMapDefaults": {
"communicationId": "\"NOT FOUND\""
},
"successTemplate": "{\r\n \t\"communicationId\": ${communicationId}\r\n}"
}
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
------------------------------