Zoom create api always scheduled the meeting on today's date

I have created a meeting using the zoom api with below request,

{“topic”:“Deafplus Meeting”,“type”:2,“start_time”:“2/20/2020 5:00:00 PM”,“duration”:“45”,“timezone”:“Europe/London”,“agenda”:“This is 4th attempt of the zoom meeting”,“recurrence”:null,“settings”:{“host_video”:“true”,“participant_video”:“true”,“cn_meeting”:“true”,“in_meeting”:“true”,“join_before_host”:“true”,“mute_upon_entry”:“true”,“watermark”:“true”,“use_pmi”:“false”,“approval_type”:2,“registration_type”:1,“audio”:“both”,“auto_recording”:“none”,“enforce_login”:false,“enforce_login_domains”:"",“alternative_hosts”:"",“global_dial_in_countries”:null,“registrants_email_notification”:“false”}}

When i got the response, it always schedules the meeting for today’s date while you can see I passed the start time as the 20th February 2020 not sure why this is happening.

Here is the response which I got for above request,

{“uuid”:“vbIkj9WpT5ikpkEz6AR/9Q==”,“id”:578424307,“host_id”:“uVWxVgiaSb-4gmDtMB2dtA”,“topic”:“Deafplus Meeting”,“type”:2,“status”:“waiting”,“start_time”:“2020-02-11T11:39:41Z”,“duration”:45,“timezone”:“Europe/London”,“agenda”:“This is 4th attempt of the zoom meeting”,“created_at”:“2020-02-11T11:39:41Z”,“start_url”:“https://zoom.us/s/578424307?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiJ1Vld4VmdpYVNiLTRnbUR0TUIyZHRBIiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImNsdCI6MCwic3RrIjoiR0JXcW9ubkxTcnZVT3pvM1dGNnJkb1lzM2dxM0VaYUM5WmVTTU5IN1dvQS5CZ1VnUjJwM2JUUmhVbGMxZVVsNmNGWlNPV1ZvTTBwTWMyMDVUREJqTm5FeE0wTkFNVGxqTVRNek5qWTRNV1V3TTJVeE5UY3laV00xT0RkbVkyUXdZbVk1T1dGaVpHTTBabUU0TVdFeVptUTNOekZrWkRReU1EazFZelppWldWaU9HWXpZUUFNTTBOQ1FYVnZhVmxUTTNNOUFBTmhkekUiLCJleHAiOjE1ODE0MjgzODEsImlhdCI6MTU4MTQyMTE4MSwiYWlkIjoiTEJONy04SVBRWmVpdHFBUi1ZbXJrZyIsImNpZCI6IiJ9.oLqNWBvp2qY1498D7E9qaUQB2uww884-U1LEzRoyDgk",“join_url”:“https://zoom.us/j/578424307”,“settings”:{“host_video”:true,“participant_video”:true,“cn_meeting”:true,“in_meeting”:true,“join_before_host”:true,“mute_upon_entry”:true,“watermark”:true,“use_pmi”:false,“approval_type”:2,“audio”:“both”,“auto_recording”:“none”,“enforce_login”:false,“enforce_login_domains”:"",“alternative_hosts”:"",“close_registration”:false,“registrants_confirmation_email”:true,“waiting_room”:false,“global_dial_in_countries”:[“GB”,“US”],“global_dial_in_numbers”:[{“country_name”:"United Kingdom”,“number”:"+44 2030512874",“type”:“toll”,“country”:“GB”},{“country_name”:“United Kingdom”,“number”:"+44 2034815237",“type”:“toll”,“country”:“GB”},{“country_name”:“United Kingdom”,“number”:"+44 2034815240",“type”:“toll”,“country”:“GB”},{“country_name”:“United Kingdom”,“number”:"+44 1314601196",“type”:“toll”,“country”:“GB”},{“country_name”:“US”,“city”:“New York”,“number”:"+1 6465588656",“type”:“toll”,“country”:“US”},{“country_name”:“US”,“city”:“San Jose”,“number”:"+1 4086380968",“type”:“toll”,“country”:“US”}],“registrants_email_notification”:false,“meeting_authentication”:false}}

Please let me know if you find anything which I did wrong with above request. My appointment is the one time meeting so I passed the recurrence object as the null while the meeting type is the scheduled.

Hey @tomp, thanks for posting and using Zoom!

It appears you are passing in the start_time in an unexpected format. If the start time format is wrong, then the date can not be set properly.

Please try setting the start time in this format: YYYY-MM-DDTHH:MM:SS

For example:
"start_time":"2020-02-20T5:00:00"

From the docs: https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate

Thanks,
Tommy

1 Like

Thanks Tommy, It works after passing the correct format.

1 Like

Glad to hear it is working now! :slight_smile:

Thanks,
Tommy