# "meeting\_capacity" with large meeting add-on

**URL:** <https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718>\
**Category:** API and Webhooks\
**Created:** [March 25, 2019, 10:05am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718 "2019-03-25T10:05:31Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oleg\_Anikin](https://avatars.discourse-cdn.com/v4/letter/o/71e660/32.png) [@Oleg\_Anikin](https://devforum.zoom.us/u/Oleg_Anikin)\
**Post date:** [March 25, 2019, 10:05am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/1 "2019-03-25T10:05:31Z")

</div>

The REST API provides info about user features in this section: [https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usersettings](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usersettings)  
It responds with the following fields in its “feature” section:  
“meeting\_capacity”  
“large\_meeting\_capacity”  
As I understand “large\_meeting\_capacity” specify add-on info about capacity. The question is what will be the value of “meeting\_capacity”, in account has large meetings add-on enabled?

---

<div class="post-metadata">

**Author:** ![stefan.francisco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stefan.francisco/32/714_2.png) [@stefan.francisco](https://devforum.zoom.us/u/stefan.francisco)\
**Post date:** [March 28, 2019, 12:50am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/2 "2019-03-28T00:50:09Z")

</div>

Hi Oleg\_Anikin,

If “large\_meeting” is set to true, then the “meeting\_capacity” parameter will be ignored. Therefore, you can either set “meeting\_capacity” to the same value you used for “large\_meeting\_capacity” or remove the parameter entirely.

Thanks  
Stefan

---

<div class="post-metadata">

**Author:** ![Oleg\_Anikin](https://avatars.discourse-cdn.com/v4/letter/o/71e660/32.png) [@Oleg\_Anikin](https://devforum.zoom.us/u/Oleg_Anikin)\
**Post date:** [March 28, 2019, 7:19am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/3 "2019-03-28T07:19:55Z")

</div>

Hi @stefan.francisco,

Thanks for reply, but my question relates to information we get from zoom REST API about “meeting\_capacity”, when user have “large meeting” add-on.  
In which field information with actual meeting capacity will be?

---

<div class="post-metadata">

**Author:** ![stefan.francisco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stefan.francisco/32/714_2.png) [@stefan.francisco](https://devforum.zoom.us/u/stefan.francisco)\
**Post date:** [March 29, 2019, 12:29am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/4 "2019-03-29T00:29:23Z")

</div>

Hi @Oleg_Anikin,

When using the [Retrieve User Settings](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usersettings) API call, it will return both “meeting\_capacity” and “large\_meeting\_capacity” values. Both of these values will be equal if “large\_meeting” is true.

```
"feature": {
    "meeting_capacity": 200,
    "large_meeting": true,
    "large_meeting_capacity": 200,
    "webinar": true,
    "webinar_capacity": 500,
    "cn_meeting": false,
    "in_meeting": false
}

```

EDIT: To answer your question, you can use either value. In my opinion, I suggest to use “meeting\_capacity” each time so you do not have to check the condition if “large\_meeting” is true.

---

<div class="post-metadata">

**Author:** ![Oleg\_Anikin](https://avatars.discourse-cdn.com/v4/letter/o/71e660/32.png) [@Oleg\_Anikin](https://devforum.zoom.us/u/Oleg_Anikin)\
**Post date:** [April 1, 2019, 11:54am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/5 "2019-04-01T11:54:05Z")

</div>

Thank you for the answer, @stefan.francisco

---

<div class="post-metadata">

**Author:** ![workinglive](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/workinglive/32/20787_2.png) [@workinglive](https://devforum.zoom.us/u/workinglive)\
**Post date:** [July 1, 2020, 1:28pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/6 "2020-07-01T13:28:33Z")

</div>

Hi @stefan.francisco

Im trying to update the status of a user from my master account usin the method update,  
but I what I really want to do is change the status from Basic to Licensed with large meeting 500 and webinar 500 at the same time . This is my code, it doesn’t show any erro but just change the status, no the meeting capacity:

> > user\_data = {“id”:“T1aiiquLQrewG4yvlHX8Fg”,“type”: USER\_LICENSED,“feature”: {“meeting\_capacity”: 500,“large\_meeting”: True,“large\_meeting\_capacity”: 500,“webinar”: True,“webinar\_capacity”: 500,“cn\_meeting”: False,“in\_meeting”: False}}  
> > response = client.user.update(\*\*user\_data).  
> > Could you help me please? I’m using Python

---

<div class="post-metadata">

**Author:** ![stefan.francisco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stefan.francisco/32/714_2.png) [@stefan.francisco](https://devforum.zoom.us/u/stefan.francisco)\
**Post date:** [July 1, 2020, 5:19pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/7 "2020-07-01T17:19:42Z")

</div>

Hi @workinglive,

What is the exact endpoint you are using? If you are on the same account as this user, you will need to use this endpoint:  
PATCH /users/{userId}/settings

> **[Update User Settings - Users - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usersettingsupdate)**
>
> Update a user's settings.
> Scopes: user:write:admin user:write
> 
> Rate Limit Label: Medium
> 
> Authorization
> 
> Flow: authorizationCode
> 
> Authorization URL: htt...

“type” is not a parameter with this endpoint

I have attached boilerplate Python code using this endpoint and updating the user successfully. Please review it and let me know if you have any questions.

> **Python Code**
>
> ```
> import requests
> import json
> 
> jwtToken = ''
> userId = ''
> 
> headers = {
> 'Authorization': 'Bearer ' + jwtToken,
> 'Content-Type': 'application/json',
> }
> 
> data = '\
> {\
> "feature": {\
> "meeting_capacity": 500,\
> "large_meeting": false,\
> "webinar": true,\
> "cn_meeting": false,\
> "in_meeting": false,\
> "zoom_phone": false\
> }\
> }\
> '
> 
> response = requests.patch('https://api.zoom.us/v2/users/' + userId + '/settings', headers=headers, data=data)
> print(response.status_code) ## 204 is expected output for success
> 
> ```

Thanks  
Stefan

---

<div class="post-metadata">

**Author:** ![workinglive](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/workinglive/32/20787_2.png) [@workinglive](https://devforum.zoom.us/u/workinglive)\
**Post date:** [July 2, 2020, 1:02pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/9 "2020-07-02T13:02:28Z")

</div>

Hi @stefan.francisco,

Im using python library “zoomus” and conecting using  
client=zoomus.ZoomClient(“API\_KEY”,“API\_Secret”)  
I have a master account so I can add users under my account and update the status as well.  
To update the status I’m using update method  
user\_data = {“id”:“User\_Id”,“type”: 2} #first of all I create a dictionary with the information  
response = client.user.update(\*\*user\_data)  
And that works good, but I need to know if I can use the same library to add the new features like meeting capacity

---

<div class="post-metadata">

**Author:** ![stefan.francisco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stefan.francisco/32/714_2.png) [@stefan.francisco](https://devforum.zoom.us/u/stefan.francisco)\
**Post date:** [July 2, 2020, 4:48pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/10 "2020-07-02T16:48:28Z")

</div>

@workinglive Hi there,

I believe you may be referring to this library: [https://github.com/prschmid/zoomus](https://github.com/prschmid/zoomus)

Before we proceed I would like to inform you that this package is not created by Zoom.

It looks like the library’s `update` function is using the endpoint `PATCH /users/{userId}` , so you would not be able to use this function to update features. The contributors would need to add another function that would call the endpoint `PATCH /users/{userId}/settings`

Here is the update function for this library:

```
def update(self, **kwargs):
    util.require_keys(kwargs, "id")
    return self.patch_request("/users/{}".format(kwargs.get("id")), data=kwargs)

```

You may be able to add this function yourself by making a minor change to the function’s endpoint and pass your dictonary through.

First, find and locate the zoomus library’s “user.py” file on your environment.  
Second, add these two functions in zoomus.user.py under the UserComponentV2 class (get, set for User settings):

```
def updateSettings(self, **kwargs):
    util.require_keys(kwargs, "id")
    return self.patch_request("/users/{}/settings".format(kwargs.get("id")), data=kwargs)

def getSettings(self, **kwargs):
    util.require_keys(kwargs, "id")
    return self.get_request("/users/{}/settings".format(kwargs.get("id")), params=kwargs)

```

Use these functions in main.py:

```
import json
import zoomus

client = zoomus.ZoomClient('', '')
user_data = {'id': userID, 'type': 2, 'feature': { 'meeting_capacity': 1000, 'large_meeting': True, 'webinar': False, 'cn_meeting': True, 'in_meeting': False, 'zoom_phone': False }}

## Update the Settings
updateSettings = client.user.updateSettings(**user_data)

## Get Settings to validate changes
response = client.user.getSettings(**user_data)
responseJSON = json.loads(response.content)
print(responseJSON)
```

---

<div class="post-metadata">

**Author:** ![workinglive](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/workinglive/32/20787_2.png) [@workinglive](https://devforum.zoom.us/u/workinglive)\
**Post date:** [July 3, 2020, 8:37pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/11 "2020-07-03T20:37:19Z")

</div>

@stefan.francisco Thank you so much for the clarification, I already add the new functions, but O tried with different users and always get response 404, user doesnt exist, and but when I use different functions the code works good.  
Do you know why always get response 404 ?

---

<div class="post-metadata">

**Author:** ![stefan.francisco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stefan.francisco/32/714_2.png) [@stefan.francisco](https://devforum.zoom.us/u/stefan.francisco)\
**Post date:** [July 3, 2020, 9:10pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/12 "2020-07-03T21:10:28Z")

</div>

@workinglive This usually occurs if the endpoint URL is invalid. Does this occur for both calls provided in my prior response?

---

<div class="post-metadata">

**Author:** ![workinglive](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/workinglive/32/20787_2.png) [@workinglive](https://devforum.zoom.us/u/workinglive)\
**Post date:** [July 5, 2020, 2:34am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/13 "2020-07-05T02:34:25Z")

</div>

Hi @stefan.francisco

The function update is not working but getSettings works good

---

<div class="post-metadata">

**Author:** ![workinglive](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/workinglive/32/20787_2.png) [@workinglive](https://devforum.zoom.us/u/workinglive)\
**Post date:** [July 7, 2020, 12:04am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/14 "2020-07-07T00:04:18Z")

</div>

@stefan.francisco  
Hi again,  
Could you help me to fix this?

---

<div class="post-metadata">

**Author:** ![stefan.francisco](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stefan.francisco/32/714_2.png) [@stefan.francisco](https://devforum.zoom.us/u/stefan.francisco)\
**Post date:** [July 7, 2020, 9:35pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/15 "2020-07-07T21:35:28Z")

</div>

Hi @workinglive

As mentioned before, 404 is usually an invalid endpoint. To further assist, I would need to review how you have set up these calls. Can you please paste any code related to the update function? Please make sure to omit any sensitive information such as API Keys and Secrets or JWT/OAuth tokens.

Thanks  
Stefan

---

<div class="post-metadata">

**Author:** ![workinglive](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/workinglive/32/20787_2.png) [@workinglive](https://devforum.zoom.us/u/workinglive)\
**Post date:** [July 9, 2020, 12:50am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/16 "2020-07-09T00:50:45Z")

</div>

Hi @stefan.francisco ,

Thank you for your response, I set up these functions in user.py.

```
class UserComponentV2(base.BaseComponent):
    def list(self, **kwargs):
        return self.get_request("/users", params=kwargs)

    def create(self, **kwargs):
        return self.post_request("/users", data=kwargs)

    def update(self, **kwargs):
        util.require_keys(kwargs, "id")
        return self.patch_request("/users/{}".format(kwargs.get("id")), data=kwargs)

    def delete(self, **kwargs):
        util.require_keys(kwargs, "id")
        return self.delete_request("/users/{}".format(kwargs.get("id")), params=kwargs)

    def updateSettings(self, **kwargs):
        util.require_keys(kwargs, "id")
        return self.patch_request("/users/{}/settings".format(kwargs.get("id")), data=kwargs)

    def getSettings(self, **kwargs):
        util.require_keys(kwargs, "id")
        return self.get_request("/users/{}/settings".format(kwargs.get("id")), params=kwargs)
    def get(self, **kwargs):
        util.require_keys(kwargs, "id")
        return self.get_request("/users/{}".format(kwargs.get("id")), params=kwargs)

```

In the main:

```
import json
import zoomus
client = zoomus.ZoomClient(' ', ' ')
user_data = {'id': userID, 'type': 2, 'feature': { 'meeting_capacity': 500, 'large_meeting': True, 'webinar': False, 'cn_meeting': True, 'in_meeting': False, 'zoom_phone': False }}
#Update settings
updateSettings = client.user.updateSettings(**user_data)#Response 404
#Get settingd
response = client.user.getSettings(**user_data) # Response 202 Works good!

```

Thank you,

---

<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:** [July 10, 2020, 4:01pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/17 "2020-07-10T16:01:01Z")

</div>

Hey @workinglive,

What is the userID of the user you are trying to update?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![workinglive](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/workinglive/32/20787_2.png) [@workinglive](https://devforum.zoom.us/u/workinglive)\
**Post date:** [July 14, 2020, 2:14am UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/18 "2020-07-14T02:14:28Z")

</div>

@tommy @stefan.francisco

T1aiiquLQrewG4yvlHX8Fg" this user is under my master account

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:** [July 16, 2020, 6:57pm UTC](https://devforum.zoom.us/t/meeting-capacity-with-large-meeting-add-on/3718/19 "2020-07-16T18:57:53Z")

</div>

Hey @workinglive,

You will have to make 2 requests. One to Update User, to update the plan to licensed, and another request to Update User Settings to update the features.

`PATCH https://api.zoom.us/v2/users/T1aiiquLQrewG4yvlHX8Fg`

```json
{
   "type":"Licensed"
}

```

Then, `PATCH https://api.zoom.us/v2/users/T1aiiquLQrewG4yvlHX8Fg/settings`

Please try the following request url and request body JSON:

```json
{
   "feature": {
      "meeting_capacity": 200 
   }
}

```

Let me know if that works.

Thanks,  
Tommy
