Hi Nathan,
You can use following API /api/v2/analytics/conversations/details/query. In the payload (sample date in the query is for today, Feb 27th):
{
"interval": "2023-02-27T05:00:00.000Z/2023-02-28T05:00:00.000Z",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"segmentFilters": [
{
"type": "or",
"predicates": [
{
"type": "dimension",
"dimension": "ani",
"operator": "matches",
"value": "+1PHONE_NUMBER"
}
]
}
]
}
From the response, extract the attribute "totalHits"
------------------------------
TatjanaKnezevic
www.startelecom.cloudhttps://www.linkedin.com/company/star-telecom-www-startelecom-ca-/------------------------------