AnhSon
(Anh)
November 10, 2021, 12:35pm
#1
Hi, I have an issue that creates a meeting and switch host.
I am building a small scale e-learning application, I signed up for an account and upgraded to the PRO plan. Is there a way I can create a meeting from this account and switch host to another free account or is there a plan or way to do the same idea?
please suggest help me. thanks a lot. (sorry my english isn’t very good).
will.zoom
(Will)
November 15, 2021, 9:53am
#2
Hi @AnhSon ,
If you’d like to switch the host for a meeting after it’s been scheduled, you can do so via API. You can use the Update Meeting API and pass the email/userId of the new host in the schedule_for
field.
Let me know if this helps,
Will
AnhSon
(Anh)
November 16, 2021, 5:17pm
#3
Thanks for replying, @will.zoom
I have a Zoom Licensed account and a Zoom Basic account (I will add more basic accounts)
I use the api to create a meeting (/users/{userId}/meetings) with body
({userId} is the email account Licensed)
body: {
....,
schedule_for: "xxxxxxxx@gmail.com", //basic account added above
....
}
and I get the following 1 error
{"code":3000,"message":"You cannot schedule a meeting for xxxxxxxx@gmail.com"}
is there any way i can switch host before or after i create a meeting?
please suggest me, thanks a lot.
will.zoom
(Will)
November 17, 2021, 2:02pm
#4
Hey @AnhSon , if both users aren’t licensed or don’t have scheduling privileges, you may find this approach better:
My issue was that I was attempting to swap a host for an alternate in one step. It doesn’t work. What does is the following:
Step 1. Save the alternate hosts and PATCH to clear
{
settings: {
alternative_hosts: ‘’
}
}
Step 2. Update the host for the new host email or id
{
schedule_for: new_host
}
Step 3. Modify the alternate hosts to ensure the new host is removed from the list and then PATCH
{
settings: {
alternative_hosts: new_list_without_new_host
}
}
You must have schedule pr…
Let me know if it helps,
Will
AnhSon
(Anh)
November 18, 2021, 2:40am
#5
Hey @will.zoom , I have tried each step as you suggested.
Step 1 : I use the api create meeting (/users/{userId}/meetings), {userId} is the email account Licensed. with body:
body: {
settings: {
alternative_hosts: '', // PATCH to clear
}
}
Step 2 : I use the api update meeting (/meetings/{meetingId}), {meetingId} is the ID returned from response in step 1.
with body:
body: {
schedule_for: 'xxxxxxxx@gmail.com' // *Basic account*
}
and I get the following 1 error
{"code":3000,"message":"You cannot schedule a meeting for xxxxxxxx@gmail.com"}
Let me know if I’m doing something wrong, thanks a lot.
will.zoom
(Will)
November 19, 2021, 11:11am
#6
Hi @AnhSon ,
This error means that the users you’re attempting to set as host/alternative_host do not have scheduling privileges:
You must have schedule privileges for the new host and the alternates, in order to make this update.
Let me know if this helps to clarify,
Will
1 Like
system
(system)
closed
December 19, 2021, 9:12pm
#7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.