# Multitenant webhook endpoints, their scopes and permissions, and the developers who love them

**URL:** <https://devforum.zoom.us/t/multitenant-webhook-endpoints-their-scopes-and-permissions-and-the-developers-who-love-them/82105>\
**Category:** API and Webhooks\
**Tags:** webhooks\
**Created:** [January 25, 2023, 2:20pm UTC](https://devforum.zoom.us/t/multitenant-webhook-endpoints-their-scopes-and-permissions-and-the-developers-who-love-them/82105 "2023-01-25T14:20:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phil/32/44848_2.png) [@Phil](https://devforum.zoom.us/u/Phil)\
**Post date:** [January 25, 2023, 2:20pm UTC](https://devforum.zoom.us/t/multitenant-webhook-endpoints-their-scopes-and-permissions-and-the-developers-who-love-them/82105/1 "2023-01-25T14:20:20Z")

</div>

**Zoom API Event(s)**

I have a some questions about enabling webhook notifications for meetings and webinars in a Marketplace App. This is for a multi-tenant (admin user) app.  
**Can we create multiple endpoints programmatically?** For example:  
If we have a single validated endpoint at https:://webhooks.example.com/ all notifications for all tenants will go through this, which would be a problem for some customers, but we could do:  
[https://tenant1.example.com](https://tenant1.example.com)  
[https://tenant2.example.com](https://tenant2.example.com)  
so each tenant has their own FQDN endpoint. Are there APIs we can call to add these endpoints to our Marketplace app and trigger the endpoint validation or does this have to be done manually?

**Is it possible to add additional data to the notification?**  
When we create the subscription to an event can we include additional identifiers, for example a tenant id, to be included in the notifications we receive?

**What permissions and scopes will the marketplace app needed for the event notifications?**  
If I want the subscribe to meeting.started and meeting.ended events would my app need the same scopes as the meeting API such as `meeting:read:admin`, `meeting:read`?  
What permissions will the app need?

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 31, 2023, 1:19am UTC](https://devforum.zoom.us/t/multitenant-webhook-endpoints-their-scopes-and-permissions-and-the-developers-who-love-them/82105/3 "2023-01-31T01:19:04Z")

</div>

> [@Phil](#):
>
> **Can we create multiple endpoints programmatically?** For example:  
> If we have a single validated endpoint at https:://webhooks.example.com/ all notifications for all tenants will go through this, which would be a problem for some customers, but we could do:

We don’t have a way to programmatically create webhook endpoints, unfortunately. However it would be possible to create a similar system on your end by relaying these events to the relevant endpoint.

> [@Phil](#):
>
> **Is it possible to add additional data to the notification?**  
> When we create the subscription to an event can we include additional identifiers, for example a tenant id, to be included in the notifications we receive?

We don’t have a method to customize the responses unfortunately.

> [@Phil](#):
>
> **What permissions and scopes will the marketplace app needed for the event notifications?**  
> If I want the subscribe to meeting.started and meeting.ended events would my app need the same scopes as the meeting API such as `meeting:read:admin`, `meeting:read`?  
> What permissions will the app need?

You shouldn’t need any additional scopes to use Webhook events. Simply enabling the event is all that is needed. Please see our [guide on webhooks](https://marketplace.zoom.us/docs/api-reference/webhook-reference/#verify-webhook-events).

I hope that helps!

---

<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:** [February 3, 2024, 4:55pm UTC](https://devforum.zoom.us/t/multitenant-webhook-endpoints-their-scopes-and-permissions-and-the-developers-who-love-them/82105/4 "2024-02-03T16:55:43Z")

</div>

Closed on February 3, 2024, 4:55pm UTC

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