# Schedule\_for vs userid in path parameter

**URL:** <https://devforum.zoom.us/t/schedule-for-vs-userid-in-path-parameter/19168>\
**Category:** API and Webhooks\
**Created:** [May 26, 2020, 9:44pm UTC](https://devforum.zoom.us/t/schedule-for-vs-userid-in-path-parameter/19168 "2020-05-26T21:44:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikehan](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@mikehan](https://devforum.zoom.us/u/mikehan)\
**Post date:** [May 26, 2020, 9:44pm UTC](https://devforum.zoom.us/t/schedule-for-vs-userid-in-path-parameter/19168/1 "2020-05-26T21:44:11Z")

</div>

**Description**  
When creating a meeting, Is there any difference between setting “schedule\_for” and putting the username in the path parameter (/users/{userId}/meetings)?

**Error**  
none

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
Create Meeting  
/users/{userId}/meetings

**How To Reproduce (If applicable)**

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 29, 2020, 4:55am UTC](https://devforum.zoom.us/t/schedule-for-vs-userid-in-path-parameter/19168/2 "2020-05-29T04:55:31Z")

</div>

Hi @mikehan yes, this is a different action. If you have permission to schedule a meeting for the user (as a JWT app), you should use the userID in the path of the request.

When using the “schedule\_for” option, the userID in the path of the request would need to have [scheduling privilege](https://support.zoom.us/hc/en-us/articles/201362803-Scheduling-privilege) assigned to them for each user they are scheduling for.

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:36pm UTC](https://devforum.zoom.us/t/schedule-for-vs-userid-in-path-parameter/19168/3 "2020-08-21T21:36:05Z")

</div>

Closed on August 21, 2020, 9:36pm UTC


