Use API to create a scheduled meeting hosted by a non-owner user

API Endpoint -
https://api.zoom.us/v2/users/SanitizedUser@example.com/meetings

Description
I want to create a scheduled meeting for the user “SanitizedUser@example.com” as host.
With the above endpoint, and post data =
$postData = ‘{
“duration”: 60,
“start_time”: “2022-10-03T08:00:00”,
“timezone”: “America/El_Salvador”,
“type”: 2
}’;
it creates the meeting but with the owner user as host.
When I have post data =
$postData = ‘{
“duration”: 60,
“schedule_for”: “SanitizedUser@example.com”,
“start_time”: “2022-10-03T08:00:00”,
“timezone”: “America/El_Salvador”,
“type”: 2
}’;
I get - {“code”:3000,“message”:“You cannot schedule a meeting for SanitizedUser@example.com.”}
When I change the endpoint to - “https://api.zoom.us/v2/users/SanitizedOwner@example.com/meetings
I get the same 2 results as above.
How do I create a meeting with someone other than the owner as host?

Hi @zoom.admin ,

Make sure you have scheduling privileges for the user set up correctly:

Thank you!

Thanks for your timely reply. My problem was that, unbeknownst to me, the company had 2 different zoom accounts. I was trying to schedule a meeting for a user that did not exist in the account the API was created for. She existed in the other account.

@zoom.admin ah okay, so is it now resolved?

Yes, it is resolved. Thank you.

1 Like