tin
(Tin)
1
Hello.
We have created an app camper_cs, with the right scope: contact_center_report:read:admin
. Get the token properly via the OAUTH2 authentication.
But when we try to get the /contact_center/analytics/historical/details/metrics
is always empty.
curl --location 'https://api.zoom.us/v2/contact_center/analytics/historical/details/metrics' \
--header 'Authorization: Bearer eyJzdiI6IjAwMDAwMSIsImFsZyI6IkhTNTE...........' \
We have tested almost every filter with any result.
Are we doing something wrong?
Kind Regards.
1 Like
@tin ,
At first glance, the request seems fine. Have you tested it with different endpoints to see if a response is returned?
tin
(Tin)
3
Thanks for the Answer Donte
Yes I have info for 2 reports.
contact_center/analytics/agents/time_sheets?from=2024-02-20&to=2024-02-22
contact_center/analytics/agents/status_history?from=2024-02-20&to=2024-02-22
But none for :
https://api.zoom.us/v2/contact_center/analytics/historical/details/metrics?from=2024-02-20&to=2024-02-22
Thanks!
You want to add the channel parameter to the request:
Here is an example API Request:
https://api.zoom.us/v2/contact_center/analytics/historical/details/metrics?channel=voice&from=2024-02-20&to=2024-02-22
List historical detail reports
1 Like
tin
(Tin)
5
Hello Donte,
Thanks for the reply! No response info.
https://api.zoom.us/v2/contact_center/analytics/historical/details/metrics?channel=video&from=2024-02-25&to=2024-02-26
The response is
{
“next_page_token”: “”,
“page_size”: 10,
“from”: “2024-02-25T00:00:00Z”,
“to”: “2024-02-26T23:59:59Z”,
“timezone”: “UTC”
}
@tin ,
Have you verified that data for those dates is available via the web portal?
Also, test different date timeframes to verify if the endpoint is working as expected. It appears you have only tried for the last 24 hours.
tin
(Tin)
7
Hello Donte!
Solved, we have info for January not for the dates we are “quering”
Kind Regards!
1 Like
Wonderful, @tin! Glad you were able to solve the behavior you were seeing.
system
(system)
Closed
9
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.