I am using the conversations details query API, and as part of the conversation, it returns a list of participants.
This list also includes queues (participant where purpose=acd).
I want to get the Queue Id of this queue. I know that participantId is not the queue Id.
Would the right way to get the queue Id to grab it from the first segment of the first session?
For example, the JSONATA expression would be:
participants[purpose='acd'][0].sessions[0].segments[0].queueId
The above is saying go to the list of participants and get the first one that is a queue. Then go to the first session, and then go to the first segment, and get queueid.
Would that work?