Analytics API /api/v2/analytics/conversations/details/query

Hi Team,

I am trying to call the below api for particular interval. we are getting response with all details which has 350 lines for a single conversation. Is it possible to get only (conversationEnd", conversationId, conversationStart, divisionIds, outboundCampaignId, outboundContactId, outboundContactListId, direction, userId, wrapUpCode , queueid) these values while calling the Api in single conversation response?

API URL : /api/v2/analytics/conversations/details/query
Request : {
"interval": "2023-06-13T10:00:00/2023-06-13T10:30:00",
"order": "desc",

"segmentFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "mediatype",
"operator":"matches",
"value":"voice"

}

]
}
]
}

No, you can't pick and choose what pieces most standard APIs give you. APIs are not SQL.

You can sometimes get a limited subset by using the conversation aggregates, but the more pieces you want, the longer the timespan and the shorter the interval, the less likely that will succeed due to computational complexity thresholds, and not everything is possible from that API, because conversation start and end for example aren't dimensions or metrics.

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