How to Stop Receiving Webhooks From Dormant Users

I’m receiving webhook events from dormant users who don’t use our app. We rely solely on webhooks (no token storage — only one API call on signup to fetch user info). I’ve seen others mention this issue in the forum, but it’s unclear if revoking a user’s access token would stop these events. Since we don’t store tokens, that’s not an option for us.

What’s the recommended way to stop receiving events from specific users? Can Zoom unsubscribe them on your side?

Thanks,

Hi @Abedellah ,

Use endpoint get/marketplace/app/event_subscriptionto get event subscription id for specific users/account:

Then use that event subscription id and account id as query parameters for the endpoint delete/marketplace/app/event_subscription to unsubscribe the user from events:

We don’t store users access tokens. The users we want to unsubscribe are inactive. We still get their webhooks even though they don’t use our service anymore. These api endpoints seem to require an access token.

@Abedellah use your access token generated as the app developer. It will allow you to get specific information related to app usage from the users who have installed your app.

I don’t understand why I as the developer have to jump through hoops to unsub inactive users? Is the only way to get an access token is by signing in to my app using zoom auth and capturing an auth code, then making an api call to get the token?

Hi @Abedellah ,

Perhaps there’s a way to do it via the admin portal, but I can’t walk you through that because I don’t have visibility into the published app portal at this time. @virginie.zoom @catalina.diaz @nigel.hughey would you be able to chime in here?

Your app should already be authorized since it is active, so you don’t need to grab the auth code. You would just use your refresh token to generate a new one. However, if you need to authorize completely, follow these steps.

Getting this error when trying to use my access token

message: 'Invalid access token, does not contain scopes:[marketplace:read:list_event_subscriptions]

@Abedellah Ok, please add that scope to your app under “scopes”.

That scope is nowhere to be found. I added every single marketplace scope and still getting the same error. Can someone reach out over email to help us figure this out?

Hi @Abedellah just sent you a private message to get a bit more info. Please check your notifications on here.