Create a zoom meeting using different hosts

Hello I have a licensed admin zoom account and 13 member accounts linked to it. I am using the following zoom API to generate token (using the admin account):

const accessToken = await axios.post(`https://zoom.us/oauth/token?grant_type=account_credentials&account_id=${zoomConfigKeys[0].accountId}`, {}, {
      headers: {
        Authorization: `Basic ${zoomConfigKeys[0].base64ClientIdAndSecret}`
      }
    })

and this API to generate zoom link:

axios.post(`https://api.zoom.us/v2/users/me/meetings`, body, {
      headers: {
        Authorization: 'Bearer' + accessToken.access_token
      }
    })

However I am only allowed to host 2 meetings at a time, therefore I need to be able to use the other member accounts linked to my admin account to generate the links. when I set the schedule_for parameter to the email of one of my users, it gives me an error(removed the actual email for privacy):

Error: Request failed with status code 400
{
code: 3000,
message: ‘You cannot schedule a meeting for email@example.com.’
}

Hi @nora.bierak

Thanks for reaching out to us, I am happy to help here!
Please make sure that you have scheduling privileges enabled in your account.
Here is a link about this topic:

Cheers,
Elisa

thanks for sharing this info.

1 Like