In the past I have been told that the communcationID is the sessionId for the first customer participant in a interaction, this has worked for pulling transcripts for voice interactions but I am seeing this is not the case for our digital interactions.
In some conversations I see the sessionId of the customer participant being used as anticipated, and others I see that the peerId (sessionId of another participant) being used instead.
If I want to pull the correct communicationID for our sms interactions what logic should I apply to know when to I should refer to the peerid of the customer participant instead of the sessionId and vice versa?
Thank you.