# Error in scheduling thru API

**URL:** <https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076>\
**Category:** Meetings\
**Created:** [January 25, 2023, 5:03am UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076 "2023-01-25T05:03:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![netadminz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/netadminz/32/44876_2.png) [@netadminz](https://devforum.zoom.us/u/netadminz)\
**Post date:** [January 25, 2023, 5:03am UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/1 "2023-01-25T05:03:48Z")

</div>

I’ve a peculiar problem.  
I’ve assigned Developer option to one of my user license, in my panel, which has integrated API online for scheduling the meeting.  
HOWEVER when the meeting is scheduled, the scheduled meeting appears in HOST license.  
Can someone please guide as to what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 25, 2023, 10:24am UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/2 "2023-01-25T10:24:48Z")

</div>

@netadminz Hope you will be fine.

How you are authorizing users before scheduling meetings using REST API.

Do you have User-Level/Account-Level or JWT?

Here are the sessions

→ [Create Zoom Meeting - (REST API)](https://youtu.be/4wPWajTEjxE)  
 → [How to Create password less Zoom Meeting -(REST API)](https://youtu.be/T6DGDgwetr8)  
 → [Add assistants (Co-Hosts) to your Zoom Account (Zoom REST API)](https://youtu.be/j9wmySNUu6Q)

---

<div class="post-metadata">

**Author:** ![netadminz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/netadminz/32/44876_2.png) [@netadminz](https://devforum.zoom.us/u/netadminz)\
**Post date:** [January 25, 2023, 10:25am UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/3 "2023-01-25T10:25:53Z")

</div>

JWT  
Plus i’ve assigned Developer role to the said user.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [January 26, 2023, 9:41pm UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/4 "2023-01-26T21:41:30Z")

</div>

Hi @netadminz  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Make sure that when you schedule the meeting, you pass the user ID or email of the host in your request URL.

---

<div class="post-metadata">

**Author:** ![netadminz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/netadminz/32/44876_2.png) [@netadminz](https://devforum.zoom.us/u/netadminz)\
**Post date:** [January 27, 2023, 3:00am UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/5 "2023-01-27T03:00:01Z")

</div>

So I can’t use any of the licenses in the panel except Host to schedule the meeting with API?  
Rather please help if there’s any wasy we can use one of the other licenses to schedule without the using the HOST license?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [January 27, 2023, 3:30pm UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/6 "2023-01-27T15:30:57Z")

</div>

Hi @netadminz  
You should be able to schedule meetings via API for users under your account.  
For example, you have user A and B under your account, when you make a post request to create a meeting, make sure to pass their email o user ID in the request parameters, like this:

`https://api.zoom.us/v2/users/userA@mail.com/meetings` .

That way the meeting will be created for user A and user A will be assigned as the host

Hope that helps  
Elisa

---

<div class="post-metadata">

**Author:** ![netadminz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/netadminz/32/44876_2.png) [@netadminz](https://devforum.zoom.us/u/netadminz)\
**Post date:** [February 1, 2023, 5:34am UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/7 "2023-02-01T05:34:11Z")

</div>

Thanks for the paitence and bearing with me, however my problem is still not getting resolved.

Here’s the situation, User A is the HOST and user B is the licensee in the account who is trying to get the API done. So what is happening is whenever user B schdelues a meeting thru API/JWT the meeting reflects in host’s account i.e. user A. {User B has already been assinged Developer role}  
I really really need help (read desperately) to get this sorted where user B schedules the meeting and it reflects in user B’s account,

If there’s any way to reset it, please do suggest.

PLEASE HELP!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [February 1, 2023, 3:14pm UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/8 "2023-02-01T15:14:26Z")

</div>

Hi @netadminz  
If both users A and B are part of the same account, you should be able to do it via API.

Make sure that when USER B schedules a meeting for USER A, the request URL has to look like this:  
`https://api.zoom.us/v2/users/USERA@mail.com/meetings` .

If User B schedules a meeting for themselves, make sure that USER B passes their email in the request  
`https://api.zoom.us/v2/users/USERB@mail.com/meetings` .

If User A and User B are completely different accounts, then this would not be possible.

---

<div class="post-metadata">

**Author:** ![netadminz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/netadminz/32/44876_2.png) [@netadminz](https://devforum.zoom.us/u/netadminz)\
**Post date:** [February 3, 2023, 2:13pm UTC](https://devforum.zoom.us/t/error-in-scheduling-thru-api/82076/9 "2023-02-03T14:13:04Z")

</div>

I figured out my mistake, Thanks a ton Elisa!  
Your support and guidance is much appreciated.
