Create Webinar api giving 400 bad request whenever passing alternative_hosts key

Before Creating a New Topic:

If you’re experiencing unexpected API/Zoom API Events (webhooks) behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:


Format Your New Topic as Follows:

API Endpoint(s) and/or Zoom API Event(s)
https://api.zoom.us/v2/users/${email}/webinars

Description
Whenever I am passing alternative host to my api request it is giving 400 bad request
const webinarData: any = await this.httpUtilService.request({
method: ‘POST’,
url: createWebinarUrl(email),
data: {
duration: 60 * 11,
settings: {
allow_multiple_devices: false,
approval_type: 0,
alternative_hosts: coHostDetails,
},
},
headers: {
Authorization: Bearer ${accessToken},
},
});

My cohostids are comma separated
Am i missing something

Error?
The full error message or issue you are running into, where applicable.

How To Reproduce
Steps to reproduce the behavior:
1. Request URL / Headers (without credentials or sensitive info like emails, uuid, etc.) / Body
2. Authentication method or app type
3. Any errors

Hi @mohit.jain1
Thanks for reaching out to the Zoom Developer forum and welcome to our community!
Can you please confirm if the alternative hosts that you are passing in your requests, are users under your account?

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