Zoom API creates meeting with wrong start_date, topic, agenda, and missing alternative hosts

I am trying to create a meeting using the API through JWT and meetings API. My JSON body is below. The zoom API creates the meeting however the date, topic, agenda and alternative hosts are wrong. Any idea what I am doing wrong?

JSON:

{
“topic”: “meeting from api”,
“type”: “2”,
“start_time”: “2020-04-01T08:00:00Z”,
“duration”: 20,
“timezone”: “UTC”,
“agenda”: “OHMeeting”,
“recurrence”: {

},
"settings": {
	"alternative_hosts": "removed for privacy, but a valid email address in zoom",
	"enforce_login": "false"
}

}

Response:

“uuid”: “WdjgH09nREm1Xlj0sze2UQ==”,
“id”: 821145991,
“host_id”: “izGvUMEIQxKIi0nFJx4TXQ”,
“topic”: “Zoom Meeting”,
“type”: 2,
“status”: “waiting”,
“start_time”: “2020-03-31T21:05:25Z”,
“duration”: 60,
“timezone”: “America/New_York”,
“created_at”: “2020-03-31T21:05:25Z”,
“start_url”: “removing for privacy”,
“join_url”: “removing for privacy”,
“settings”: {
“host_video”: false,
“participant_video”: false,
“cn_meeting”: false,
“in_meeting”: false,
“join_before_host”: true,
“mute_upon_entry”: false,
“watermark”: false,…

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
https://api.zoom.us/v2/meetings/

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

Hey @syed.alli,

That is odd. Can you try the following request body to see if it works?

{
  "topic": "meeting from api",
  "type": 2,
  "start_time": "2020-04-01T08:00:00Z",
  "duration": 20,
  "agenda": "OHMeeting",
  "settings": {
    "alternative_hosts": "email@domain.com",
    "enforce_login": false
  }
}

Thanks,
Tommy

Thanks @tommy. I figured it out. I was using RestSharp in C# and I was passing a blank object. Leaving it out here just in case some one else runs into this silly mistake.

  var newMeeting = new ZoomMeeting()
        {
            Topic = "meeting from api",
            Meeting_Type = "2",
            Start_Time = startTimeLocal,
            Duration = 20,
            Timezone = "America/New_York",
            Agenda = "OH Meeting",
            Settings = new Dictionary<string, object>()
            {
                {
                    "alternative_hosts", "removed"
                },
                {
                    "enforce_login", "false"
                }
            }

        };

Wrong
request.AddJsonBody(newMeeting);

Correct
var json = JsonConvert.SerializeObject(newMeeting);
request.AddJsonBody(json);

Happy to hear you figured it out!

Thanks for posting the solution!

-Tommy