How to allow usage of Create an event subscription Marketplace API method

I am attempting to use the Create an event subscription Marketplace API method (Marketplace APIs - Zoom Developers), but I’m getting an error that I need to enable the scope for marketplace:write:event_subscription when making the request. I was attempting this using a Server to Server OAuth app with account level access to authorize the request, but I can’t find that scope in the app settings to enable it. The closest scope seems to be marketplace:write:app:master, but adding that scope didn’t resolve the issue. I tried checking the scopes in different app types as well, such as General apps with either account or user level access, but the scope wasn’t in the dialog for those either, though I haven’t attempted making the request from a different app yet.

Is there another way I’m supposed to be authorizing or using this method? Thanks for your help!

I’m facing the same issue.Is there anyone who knows where to find the scope or how do i create the event subscription without that scope?

I’m experiencing the same issue. I need this issue resolved.

I am having the same issue.
I cannot find the scope marketplace:write:event_subscription under the OAuth app scopes.
How can this be enabled to be able to use the event subscription endpoint?
@wbugenis did you manage to find a solution?

This is still an issue.

{“code”:201,“message”:“Invalid access token, does not contain scopes:[marketplace:write:event_subscription].”}

Hi @JasonXhi
Here is the link to an updated guide on how to use these endpoints

https://developers.zoom.us/docs/api/webhooks/#configure-webhooks-via-zoom-api

These scopes are not visible in the Marketplace buildflow, and they are tied to the app so you won’t see them in the buildflow

We provide a rag enterprise search product, as such we need to have a pretty friction-free install process as we are installing this into environments that we don’t have direct access to.

This helped, but I’m still not able to subscribe to chat_message.sent, chat_message.updated, chat_message.deleted using the Event Subscription API, although I could subscribe to chat_channel.created etc. I get:

Result: Error - "missed permission to subscribe: chat_message.sent”

Marketplace scopes configured:

  • marketplace:write:app_pre_approve:admin
  • marketplace:write:app_request:admin
  • marketplace:write:app_deeplink:admin
  • marketplace:write:app:admin
  • marketplace:write:app:master
  • marketplace:read:list_api_logs:admin

Team Chat scopes configured:

  • team_chat:read:user_message:admin
  • team_chat:read:list_user_messages:admin
  • team_chat:read:channel:admin
  • team_chat:read:list_channels:admin
  • team_chat:read:list_user_channels:admin
  • team_chat:read:list_channel_members:admin

We have also tested UI-configured webhooks for teamchat.message_sent, teamchat.message_edited, teamchat.message_deleted - these never fire when messages are posted, while chat_channel.created/updated/deleted webhooks work correctly.

Is there an account-level setting in the Zoom admin portal that needs to be enabled for Team Chat message webhooks (similar to how meeting chat webhooks require “Include in-meeting chat files” to be enabled)?

Should we be using a different OAuth grant type to obtain tokens that include team_chat scopes?

Is there additional app configuration or approval needed to subscribe to chat_message.* events via the API?

Do I need to publish the app? I get this message, but I’m not able to find the permission it talks about using the owner account.

Thanks,
Jason