How to assign a participant as co-host from REST API

Description
Basically, I’m creating an app where a user can log-in and join a meeting. However, the most important features I need are admitting participants and, if the user is the host, assign participants as co-hosts. Does anyone know if this is possible via the REST API ?

Hi @jonholland,

The correct flow for this would be to add the respective user as a alternative host when creating or updating the meeting.

Screen Shot 2020-03-25 at 3.54.05 PM

Thanks,
Will

@will.zoom Oh ok so alternative hosts can also be co-hosts? I was under the assumption that they were completely different roles.

Hi @jonholland,

Apologies for any confusion—these are different. This would be the closest method in terms of granting additional meeting privileges to users, ahead of time via API.

Co-hosts, specifically, can only be set during the meeting:

Thanks,
Will

Hi Will,

Thanks, yeah I was thinking that those weren’t the same. Is there a way to set co-host via API?

Hi @jonholland,

There isn’t at the moment—I’m afraid this can only be set from within the meeting. However, it’s a great suggestion.

Thanks,
Will