Marketplace:write:event_subscription scope cannot be found in the app submission option for my app

Hello.

I am are trying to use the subscription API to be able to create or delete the event subscription for our Zoom app.
This is required because the app should serve both US and EU customers so we need to be able to register the relevant webhook subscription per customer’s data region preference. Currently we cannot seem to find relevant the scope marketplace:write:event_subscription to perform calls to POST /marketplace/app/event_subscription. The scope does not seem to exist under event_subscription scope options in our app registration screen.

Can you let us know how to can we obtain the write scope for managing event subscriptions?

Thanks

Hi @izauer
Thanks for reaching out to us !
I am currently doing some testing on these endpoints and also making notes to update our docs.
To use these endpoints, please generate an access token using client_credentials, so your request should look like this:

Those scopes are associated with your app so by using this authorization method to get the token, you will be able to call the event_subscription endpoints

Let me know if this helps or if you need any more guidance

Thank you @elisa.zoom.

Apologies, I believe we were not able to describe our needs in details. We were told a single zoom application can be configured to support different regions (EU or US customers using separate webhook URLs). This means that we need the ability to set the webhook URL programatically during the onboarding (OAuth) flow of every customers based on their region of choice.

The soltuon you provided above works with Client Credentials grant type and as such we are making a call using our App as the actor, while we need to be using the customer admin user as the actor so that the webhook subscription will only affect their zoom instance rather than all customers.

Is there a way to address this requirement? do you have other customers who are setup using the above settings?
Thanks

Hey @izauer
Can you please confirm if you are trying to build and app and publish it in the Marketplace so customers can install it?

If that is the case, you can use the client_credential grant to exchange for the access token and programmatically add those webhook subscriptions.

sort of. My should be avilable for installation on Zoom via a link rather than from the marketplace.

@elisa.zoom , I came across another problem: I am trying to pass the region as a parameter as part of the OAuth authorization of the app so that I can dynamically redirect the user back to the relevant URL per their region (EU or US). I believe I need to disable the option to Use Strict Option Mode for Redirect URLs, but currently this option is selected and grayed out and cannot be disabled on my active app in production.

How can I get this enabled? Do I need to delete the app and submit it again (which will take time while the app is not active). Any idea what to do?

Let me loop in someone from the Marketplace team @izauer

Hi @elisa.zoom
any updates on this?

Hello,

Unselect the option in development, and it will be disabled in Production.

Regards, Kwaku