# Enabling Event Subscriptions Adding Unnecessary Scope

**URL:** <https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733>\
**Category:** API and Webhooks\
**Created:** [December 21, 2021, 3:56pm UTC](https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733 "2021-12-21T15:56:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pklong](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pklong/32/33504_2.png) [@pklong](https://devforum.zoom.us/u/pklong)\
**Post date:** [December 21, 2021, 3:56pm UTC](https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733/1 "2021-12-21T15:56:17Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I would like to enable Event Subscriptions for an existing OAuth user-level app with the scopes of meeting:write and user:read. I want to subscribe to the “Meeting Ended”, “Participant Joined”, and “Participant Left” events. I would like to prevent my existing users from having to re-authenticate.

When testing with another oauth app and adding event subscriptions with those events the scopes that are automatically added are identical to my existing OAuth app’s scopes.

**Error**  
When I enable the Event Subscription feature, an additional scope of meeting:read is added to the app, which I believe will require my users to have to re-authenticate. I don’t see why this scope is being added since I already have Meeting:write.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
[Meeting ended event.](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-ending)  
[Participant joined](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/participant-joined-meeting)

**Additional context**  
Our OAuth app already requests the “View and manage your meetings/meeting:write” scope, but we’d now like to turn on Meeting related Event Subscriptions. When doing so, the “View your meetings/meeting:read” scope automatically gets added to our app, and can’t be deleted. Shouldn’t “View and manage your meetings/meeting:write” provide all the scope we need already? We’d rather not change the scopes that our OAuth app requires as that will require our users who have already added our app to need to re-add it.

---

<div class="post-metadata">

**Author:** ![pklong](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pklong/32/33504_2.png) [@pklong](https://devforum.zoom.us/u/pklong)\
**Post date:** [December 22, 2021, 4:56pm UTC](https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733/2 "2021-12-22T16:56:59Z")

</div>

Here’s a screenshot showing the additional scope added by enabling event subscriptions for “meeting ended”

 ![Screen Shot 2021-12-21 at 10.51.59 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/4/543e86f76192750911e184218fb24c79f8ad20e7.jpeg)

---

<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:** [December 22, 2021, 5:31pm UTC](https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733/3 "2021-12-22T17:31:41Z")

</div>

Hey @pklong,

Thanks for reaching out about this.

I should note that the `meeting:read` scope is required for the webhook events that you’ve referenced. When you add either of these two events, this scope will be required by default:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/a/caaa405ce7f80c12fb5a7ba9599db9d60ecb4534.png)

I should also note that if you add an event subscription, your end users would need to authorize the latest version of your app in order for you to receive those events.

Let me know if this helps to clarify—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![pklong](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pklong/32/33504_2.png) [@pklong](https://devforum.zoom.us/u/pklong)\
**Post date:** [December 22, 2021, 5:57pm UTC](https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733/4 "2021-12-22T17:57:12Z")

</div>

Thanks for the response, Will. This is super helpful.

Also would appreciate any guidance you have on our proposed feature.

We’re hoping to enable attendance tracking through our application. We have a user-level app with the scopes of meeting:write and user:read.

We can find out when the meeting ended by enabling webhooks as we discussed but so far we have been unable to find out how to discover the **duration** each participant spent in the meeting. Our idea was to use participant.joined and participant.left events to calculate the duration but this has downsides.

Is there no API we have access to as a user-level app that would give us this information?

The [following endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportmeetingparticipants) would have been sufficient but our understanding is this scope would not be accessible on a user-level app.

Thanks again!

---

<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:** [December 23, 2021, 6:49pm UTC](https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733/5 "2021-12-23T18:49:48Z")

</div>

Hey @pklong,

I can see we’re in touch over email, so I will continue our conversation with you there.

Thanks,  
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:** [January 23, 2022, 4:50am UTC](https://devforum.zoom.us/t/enabling-event-subscriptions-adding-unnecessary-scope/61733/6 "2022-01-23T04:50:16Z")

</div>

Closed on January 23, 2022, 4:50am UTC

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