API to pull all conversations per user id

Hi,

Is there an api that can show me all the active email conversations assigned to a userid including any drafts they might have composed.

This user would work across multiple queues. So is there an api to find all open conversations per user? Or do I have to query each queue and work out the email participants.

Basically I'm looking to find any conversation or draft that would appear in their interactions page when they login to Genesys Cloud.

Thanks
Sean

Hi @seanoo
You can use a conversation details query to get the conversations by user id.
With a request body similar to this:

{
  "interval": "2024-10-22T00:00:00Z/2024-10-24T00:00:00Z",
  "segmentFilters": [
    {
      "predicates": [
        {
          "dimension": "mediaType",
          "type": "dimension",
          "value": "email"
        },
        {
          "type": "dimension",
          "dimension": "userId",
          "value": "<user-id>"
        }
      ]
    }
  ]
}

Thank you. That worked

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