# Assign webinar licence to user via the API or automatically when user is created

**URL:** <https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541>\
**Category:** API and Webhooks\
**Created:** [October 28, 2020, 4:41pm UTC](https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541 "2020-10-28T16:41:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![techcityventures](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/techcityventures/32/5171_2.png) [@techcityventures](https://devforum.zoom.us/u/techcityventures)\
**Post date:** [October 28, 2020, 4:41pm UTC](https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541/1 "2020-10-28T16:41:02Z")

</div>

Hi there,

I am currently developing functionality to create zoom webinars via the API. The code will find the user by his userName/email. If user does not exist, it will create it then create the webinar based on his id. Now, creating a new user will assign a licence to the user automatically, but won’t turn on the webinar feature for that user, even if I have free/unused webinar seats/licences. Therefore, I get an error saying:

{  
“code”: 200,  
“message”: “Webinar plan is missing. You must subscribe to the webinar plan and enable webinar for this user: _{user identifier_} in order to perform this action.”  
}

**Is there any way to activate the webinar licence via the API to avoid doing this manually from the Admin/Users tab on my account?**

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 29, 2020, 5:53pm UTC](https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541/2 "2020-10-29T17:53:07Z")

</div>

Hey @techcityventures,

Great question—you can do this programmatically by hitting our PATCH Update User Settings endpoint. You will update their features via their User Settings and setting `webinar` to `true`:  
[PATCH Update User Settings](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usersettingsupdate)

 ![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/5/d572843eced0ef2a7df754f7b23f69e6649a95d5.png)

Let me know if this helps!  
-Will

---

<div class="post-metadata">

**Author:** ![techcityventures](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/techcityventures/32/5171_2.png) [@techcityventures](https://devforum.zoom.us/u/techcityventures)\
**Post date:** [October 29, 2020, 11:23pm UTC](https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541/3 "2020-10-29T23:23:17Z")

</div>

thank you !!! \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 30, 2020, 9:24pm UTC](https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541/4 "2020-10-30T21:24:30Z")

</div>

Happy I could help! 🙂

---

<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:** [November 30, 2020, 7:24am UTC](https://devforum.zoom.us/t/assign-webinar-licence-to-user-via-the-api-or-automatically-when-user-is-created/34541/5 "2020-11-30T07:24:35Z")

</div>

Closed on November 30, 2020, 7:24am UTC

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