Hello. Please tell me how to get calls from all users? I need this for Agents Map. I used this api/v2/conversations, but this is getting calls only for a logged user. Websocket, when subscribing to calls, gives me what I need, but after, for example, reloading the page, calls from other users are not visible in Agents Map.
The Analytics Conversation Detail Query will allow you to get conversations for your organization. You can use a conversation filter for conversationEnd not exists to target active conversations and add additional filters to refine the selection to some subset of your org, like a queue perhaps.
It sounds like you're using WebSocket notifications to keep your dashboard up to date in real-time. You can use the analytics query to seed the application with the necessary conversations on startup and continue to use the notifications to keep the list up to date.
Thanks a lot! I'll add a bit for others who may be looking for an answer, that you can get calls in the API at this url - /api/v2/analytics/conversations/details/query
Query body:
{
'conversationFilters' : [
{
'type' : 'and',
'predicates' : [
{
'type' : 'dimension',
'dimension' : 'conversationEnd',
'operator' : 'notExists'
}
]
}
],
'interval' : "YYYYY-MM-DDThh:mm:ss/YYYYY-MM-DDThh:mm:ss"
}
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.