# Zoom API returns inaccurate Total Minutes number

**URL:** <https://devforum.zoom.us/t/zoom-api-returns-inaccurate-total-minutes-number/33653>\
**Category:** API and Webhooks\
**Created:** [October 19, 2020, 1:29pm UTC](https://devforum.zoom.us/t/zoom-api-returns-inaccurate-total-minutes-number/33653 "2020-10-19T13:29:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cholscher](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cholscher/32/4057_2.png) [@cholscher](https://devforum.zoom.us/u/cholscher)\
**Post date:** [October 19, 2020, 1:29pm UTC](https://devforum.zoom.us/t/zoom-api-returns-inaccurate-total-minutes-number/33653/1 "2020-10-19T13:29:46Z")

</div>

We are using the API to work with Webinars exclusively, not Meetings.

The API call for [https://api.zoom.us/v2/report/webinars/$webinarID](https://api.zoom.us/v2/report/webinars/%24webinarID) returns the Total Minutes in a Webinar. However, that number does not match the number reported when manually adding Zoom attendees in reports from the Zoom web site.

For 98259397442, the API returns 99 mins. The total is 101 minutes when adding up the exported report.

The problem is exacerbated by larger events. For Webinar ID 94925113743, the API returned 31638 minutes. However, when I exported the report and manually calculates the minutes there, the amount was 242,630.  
210,992 is a lot of minutes to be off.

Webinar ID 98654169441 reported 2472 MORE minutes than the actual report displays.  
I’ve been tracking events manually for part of June and July and it’s consistently incorrect.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 20, 2020, 4:24pm UTC](https://devforum.zoom.us/t/zoom-api-returns-inaccurate-total-minutes-number/33653/2 "2020-10-20T16:24:31Z")

</div>

Hey @cholscher,

Thanks for raising this with us.

Is it possible to share the following with me so that I can help investigate?

- Example request to the `/webinars/webinar` endpoint, and response
- The corresponding report export where you see the discrepancy

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![cholscher](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cholscher/32/4057_2.png) [@cholscher](https://devforum.zoom.us/u/cholscher)\
**Post date:** [October 20, 2020, 8:39pm UTC](https://devforum.zoom.us/t/zoom-api-returns-inaccurate-total-minutes-number/33653/3 "2020-10-20T20:39:49Z")

</div>

Hello Will,

Here’s where I am with this.  
Attendee Type: Minutes  
Host: 121  
Panelists: 1472  
Attendees: 2475  
Other: 1086 (448 phone mins)

5154 manual total minutes - 448 phone = 4706 Web Mins  
5107 API total minutes

47 mins fewer on API than by looking at report and calculating totals.

I’ve pasted the request and response below.

REQUEST

```
my $webinarID = "99941630292";
my $json = q|{ }|;
$json =~ s/"/\\"/g;
my $return_json = `curl -s --request GET --url "https://api.zoom.us/v2/report/webinars/$webinarID" -- 
header "authorization: Bearer $jwt" --header "content-type: application/json" --data "$json"`;
my $json = JSON::MaybeXS->new(utf8 => 1, pretty => 1, sort_by => 1);
my $json_pretty = $json->encode($json->decode($return_json));
print "response\n";
print $json_pretty;
print "\n\n";

```

RESPONSE

```
{
"dept" : "",
"duration" : 121,
"end_time" : "2020-07-29T16:21:30Z",
"host_id" : "duLzJYJCQiqXjqvvnj9GMQ",
"id" : 99941630292,
"participants_count" : 96,
"start_time" : "2020-07-29T14:21:08Z",
"topic" : "GHANA: BCIU Virtual Roundtable with H.E. Ken Ofori-Atta, Minister of Finance, Republic of Ghana",
"total_minutes" : 5107,
"tracking_fields" : [],
"type" : 5,
"user_email" : "zoom100_E8_064@eshostaccount.com",
"user_name" : "Event Services",
"uuid" : "cvzLP3NLTAOQhKJFdWhDAw=="
}

```

I don’t see a way to upload a file so I’ve shared it. Please let me know if you’re not able to access it.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 21, 2020, 3:49pm UTC](https://devforum.zoom.us/t/zoom-api-returns-inaccurate-total-minutes-number/33653/4 "2020-10-21T15:49:21Z")

</div>

Hi @cholscher,

Thank you for providing these additional details. Our team is looking into this (ZOOM-209005).

Best,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 21, 2020, 1:49am UTC](https://devforum.zoom.us/t/zoom-api-returns-inaccurate-total-minutes-number/33653/5 "2020-11-21T01:49:22Z")

</div>

Closed on November 21, 2020, 1:49am UTC

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