Create meeting API - 400 bad request

Description
Below is the JSON used to create the meeting using postman. Have also tried altering JSON by removing the pairs where the values are string. still same result , receiving 400 Bad request. Can you please help to understand what is correct format of JSON to use. Thanks in advance…

{
“topic”: “Test Meeting”,
“type”: 2,
“start_time”: “2020-09-10T03:46:58.907Z”,
“duration”: 30,
“schedule_for”: “string”,
“timezone”: “string”,
“password”: “12345”,
“agenda”: “string”,
“recurrence”: {
“type”: 1,
“repeat_interval”: 0,
“weekly_days”: “string”,
“monthly_day”: 0,
“monthly_week”: -1,
“monthly_week_day”: 1,
“end_times”: 0,
“end_date_time”: “2020-09-15T03:46:58.907Z”
},
“settings”: {
“host_video”: true,
“participant_video”: true,
“cn_meeting”: false,
“in_meeting”: false,
“join_before_host”: false,
“mute_upon_entry”: false,
“watermark”: false,
“use_pmi”: false,
“approval_type”: 2,
“registration_type”: 1,
“audio”: “both”,
“auto_recording”: “none”,
“enforce_login”: true,
“enforce_login_domains”: “xxxx.net”,
“alternative_hosts”: “string”,
“global_dial_in_countries”: [
“string”
],
“registrants_email_notification”: false
}
}

Error

<title>400 Bad Request</title>
<center>

    <h1>400 Bad Request</h1>

</center>

<hr>

<center>zoom</center>

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

Authorization : Bearer Token -->

Which Endpoint/s?
https://api.zoom.us/v2/users/:userId/meetings

Hey @manusha,

There are a number of issues with your request body JSON. Here is a working example:

{
  "topic": "Test Meeting",
  "type": 2,
  "start_time": "2020-09-10T03:46:58Z",
  "duration": 30,
  "password": "123456",
  "settings": {
    "host_video": true,
    "participant_video": true,
    "cn_meeting": false,
    "in_meeting": false,
    "join_before_host": false,
    "mute_upon_entry": false,
    "watermark": false,
    "use_pmi": false,
    "approval_type": 2,
    "registration_type": 1,
    "audio": "both",
    "auto_recording": "none",
    "enforce_login": true,
    "registrants_email_notification": false
  }
}

Make sure to double check the docs to see what values are allowed for each property.

Thanks,
Tommy

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