Update host of scheduled meeting via Update API

Description
I am trying to update the host for an existing scheduled meeting via the Update API (PATCH). Our app uses JWT for authentication and from what I’ve read, this is possible by passing the new host in the “scheduled_for” parameter. When doing this, I get a 204 response (success) but the meeting host is unchanged. Regardless of what I pass as “scheduled_for” this is not working. Even passing non-existing account users/ fake users does not trigger an error but the host is never updated.

Sample request body:

“request_body”: “{“scheduled_for":"fakeUser@ImNewHost.com”,“type”:“2”,“start_time”:“2021-01-06T14:00:00.000Z”,“duration”:“480”,“timezone”:“America/New_York”,“agenda”:“CalendarCall”,“settings”:{“host_video”:“false”,“alternative_hosts”:”",“global_dial_in_countries”:[""],“registrants_email_notification”:“true”}}",

Error
The full error message or issue you are running into.

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

Which Endpoint/s?
https://api.zoom.us/v2/meetings/{meetingId} (PATCH)

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Create a meeting type 2 (scheduled) for a certain host.
  2. Attempt to update host with new host via “scheduled_for” and check if meeting host was updated.

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

Additional context
Add any other context about the problem here.

Hey @mgutierrez,

Thank you for reaching out to the Zoom Developer Forum. Please make sure that you meet the Prerequisites for scheduling meetings on behalf of another user and that the proper privileges have been assigned.

I hope that helps! Let me know if you have any questions.

Thanks,
Max

Hey @MaxM,

Thanks for the quick response. As far as I know we are meeting the prerequisites. We have over 300 licensed users under our account. Our application schedules and updates meetings using the API with a JWT token. So far every endpoint is working as expected for us. Even this update endpoint works for any other parameter but the “schedule_for”, which we are trying to use to update the host of an existing meeting. I understand that a user needs to assign the scheduling privilege to a second user so this second user can schedule on behalf of the first user. That works fine for us on the Zoom app/web interface. But we are trying to do this via the API, where we authenticate with a JWT token and as I understand it, once authenticated, we should be able to perform these updates. Please let me know if I’m missing something. Are you saying that we would need to somehow set that scheduling privilege for the account so we can change the host of meetings we are now able to schedule for all our users already thru the API anyway? Can you please clarify that?

Thank you again.

Hey @mgutierrez,

Thank you for providing additional information. If you use the user ID instead of the email, does the request work as expected? If not, please send an email to developersupport@zoom.us with the exact endpoint, request body, and response that you’re seeing and I’ll investigate this further there.

Thanks,
Max

Hey @MaxM,

Unfortunately no luck with the User ID either. I have emailed you the info as requested. Thanks again!

1 Like

Hey @mgutierrez,

Thank you for submitting a ticket. I’ll follow-up with you there and post the solution to this thread when we have it.

Thanks,
Max

Hey All,

In order to keep the solution to this issue public, I’ll update the thread with what we found. We saw that the parameter being passed was scheduled_for (past tense) when the actual parameter is schedule_for (present tense). After changing that parameter and configuring scheduling privileges, the issue was resolved.

Thanks,
Max

2 Likes

Hey @MaxM,

Thanks again for all the help with this. Happy new Year!

2 Likes

Hey @mgutierrez,

I’m thrilled to hear that I was able to be of assistance! Happy New Year!

Amiably,
Max

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