# Trying to list webhooks and getting an error

**URL:** <https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677>\
**Category:** API and Webhooks\
**Created:** [December 7, 2018, 10:53am UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677 "2018-12-07T10:53:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/simon/32/7578_2.png) [@simon](https://devforum.zoom.us/u/simon)\
**Post date:** [December 7, 2018, 10:53am UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/1 "2018-12-07T10:53:43Z")

</div>

Hi,

I am trying to programmatically list webhooks in my user-level app using the API described at: [https://marketplace.zoom.us/docs/api-reference/zoom-api/webhooks/webhooks](https://marketplace.zoom.us/docs/api-reference/zoom-api/webhooks/webhooks)

I get the following error: “Invalid access token, does not contain scopes: [webhook:read:admin, webhook:write:admin]”

During app setup in the Marketplace there is nowhere to specify these webhook management scopes.

How is this intended to work?

Thanks,

Simon.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [December 7, 2018, 6:19pm UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/2 "2018-12-07T18:19:50Z")

</div>

Hi @simon,

Within the marketplace app and under the feature tab you should see Event Subscriptions, when you enable it, you should see **Event Types**. There you would see the webhook scopes.

> **[Webhooks - Zoom App Marketplace - Documentation](https://marketplace.zoom.us/docs/guides/zoom-app-marketplace/webhooks)**
>
> Webhooks
> 
> The Zoom Marketplace allows you to add event subscriptions and a chat command. Use your app verification token to validate notification reques...

---

<div class="post-metadata">

**Author:** ![simon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/simon/32/7578_2.png) [@simon](https://devforum.zoom.us/u/simon)\
**Post date:** [December 7, 2018, 6:53pm UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/3 "2018-12-07T18:53:02Z")

</div>

Hi @michael_p.zoom,

Thanks, I had already looked there and that’s not what I need. I want to programmatically list, set and remove webhooks using the APIs documented at: [https://marketplace.zoom.us/docs/api-reference/zoom-api/webhooks/webhooks](https://marketplace.zoom.us/docs/api-reference/zoom-api/webhooks/webhooks)

I can’t see how one acquires the necessary scopes for this. Those being: webhook:read:admin and webhook:write:admin.

I have to assume it’s possible - it’s in the API documentation and explorer.

Best regards,

Simon.

---

<div class="post-metadata">

**Author:** ![yoavc](https://avatars.discourse-cdn.com/v4/letter/y/9fc29f/32.png) [@yoavc](https://devforum.zoom.us/u/yoavc)\
**Post date:** [August 5, 2019, 4:50am UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/4 "2019-08-05T04:50:29Z")

</div>

Hi, i also tried to create/get webhook and get error in response:  
Invalid scope: webhook:read:admin as current client hasn’t this approved scope! (4,700)  
I am also get error when i tried create the authorize with url:  
[https://zoom.us/oauth/authorize?client\_id=\*](https://zoom.us/oauth/authorize?client_id=*)_ **&response\_type=code&redirect\_uri=** _&scope=webhook%3Aread%3Aadmin+webhook%3Awrite%3Aadmin

please your help.

thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 5, 2019, 6:56pm UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/5 "2019-08-05T18:56:27Z")

</div>

Hey @yoavc,

Is this happening with a [Webhook App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-webhook-only-app) or [OAuth App type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-oauth-app)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![yoavc](https://avatars.discourse-cdn.com/v4/letter/y/9fc29f/32.png) [@yoavc](https://devforum.zoom.us/u/yoavc)\
**Post date:** [August 7, 2019, 5:32am UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/6 "2019-08-07T05:32:16Z")

</div>

Hi @tommy ,  
This is happening with OAuth App type.  
I added Event Subscription in Application Management.

Thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 7, 2019, 3:33pm UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/7 "2019-08-07T15:33:38Z")

</div>

Hey @yoavc,

Can you try authorizing with the url generated on the Zoom App Marketplace dashboard:

 ![01%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8cc161e0da4e883c0603fb5269b1cc1b9ca63ea0.png)

(I think the issue is the `&scope=webhook%3Aread%3Aadmin+webhook%3Awrite%3Aadmin` being in the authorize url. Try removing it or generating the authorize url via your Apps Dashboard.)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 7, 2019, 3:55pm UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/8 "2019-08-07T15:55:59Z")

</div>

@yoavc, another solution is creating a [Webhook App Type](https://marketplace.zoom.us/docs/guides/getting-started/app-types/create-webhook-only-app). No authentication is necessary for this method. [Here are the list of webhook events we have.](https://marketplace.zoom.us/docs/api-reference/webhook-reference/meeting-events/meeting-created-delete)

-Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:27pm UTC](https://devforum.zoom.us/t/trying-to-list-webhooks-and-getting-an-error/2677/9 "2020-08-21T18:27:18Z")

</div>


