Start time is not respected

 Hi there Zoom community,

As part of a project of ours, we plan to integrate with zoom to let users create meetings and join created meetings from our UI.

I have downloaded Postman examples and started playing around. I was able to create some meetings and get meeting details but only thing that is not working is the start time. Whatever I set the start time to, it still shows start time as the time of creation.

I wonder if there’s anything I’m missing with my setup.

Here’s my parameters:

host_id:XXXXXXX
type:2
topic:Test Topic
start_time:2018-01-3T00:40:53.314
duration:60
timezone:America/Los_Angeles
password:
recurrence:
option_registration:false
registration_type:1
option_jbh:false
option_start_type:video
option_host_video:true
option_participants_video:true
option_cn_meeting:false
option_in_meeting:false
option_audio:both
option_enforce_login:false
option_enforce_login_domains:
option_alternative_hosts:
option_alternative_host_ids:
option_use_pmi:false
option_auto_record_type:local

Nevermind, I figured it out. I was using an old version of the api.

Cloud you give me some more details? I also encountered this problem when using postman examples. when creating meeting, the start time shows the time of creation, but I have set up the start_time to a future time.

Hey @rubin, thanks for posting and using Zoom!

Can you please share your request URL, body, and response so I can help?

Thanks,
Tommy

Hi @tommy,
I have tested the api in the Postman.
The request URL is “{{baseUrl}}/users/:userId/meetings”
The request body is: {“topic”:“My meeting”, “type”:“2”, “start_time”:“2020–03–20T07:00:00”, “duration”:30, “timezone”:“Asia/Shanghai”}
The response is :
{
“uuid”: “oYXbWs9PTXSHzz38xoAr2A==”,
“id”: 615702428,
“host_id”: “qoVEn8sySZuKYEMK8WE_PA”,
“topic”: “My meeting”,
“type”: 2,
“status”: “waiting”,
“start_time”: “2020-03-14T12:48:36Z”,
“duration”: 30,
“timezone”: “Asia/Shanghai”,
“created_at”: “2020-03-14T12:48:36Z”,
“start_url”: “https://zoom.com.cn/s/615702428?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiJxb1ZFbjhzeVNadUtZRU1LOFdFX1BBIiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6ImF3MSIsImNsdCI6MCwic3RrIjoiNzRsSVdXUl9oQW1SS0RqengyQ21LSUtSQ2VWa0NGREdqN3lISE01b0tvRS5CZ1VnVjBSNVZGWkhha2hoYm1neU5VZDFTbmh5WlhvdlVIbFZkemRMUmxWSFQwZEFZVGt5WmpZellUbGxOVGRsTmpJNVlURTBZMll4TkdGbVpHSmlZbVppWkRNMVlXVmtNVEl3WVRGaE5qQXhPR1F4WXpFeE1HUTBObVJpTXpsa05qSTVPUUFnYUZGVlNUWnpNbXhzUzNkWWVsbFlNRzg0TUhFNWNqQjZSVU5yVjFkc0wyRUFBMkYzTVEiLCJleHAiOjE1ODQxOTczMTcsImlhdCI6MTU4NDE5MDExNywiYWlkIjoicm9rckhLaHpTdFdlZWdaY1RFTjhRQSIsImNpZCI6IiJ9.BzYkGySllUmGkJl-caOMcb666HUrKWMqUoeUPVlivXg”,
“join_url”: “https://zoom.com.cn/j/615702428”,
“settings”: {
“host_video”: false,
“participant_video”: false,
“cn_meeting”: false,
“in_meeting”: false,
“join_before_host”: true,
“mute_upon_entry”: false,
“watermark”: false,
“use_pmi”: false,
“approval_type”: 2,
“audio”: “voip”,
“auto_recording”: “none”,
“enforce_login”: false,
“enforce_login_domains”: “”,
“alternative_hosts”: “”,
“close_registration”: false,
“registrants_confirmation_email”: true,
“waiting_room”: false,
“registrants_email_notification”: true,
“meeting_authentication”: false
}
}

the base URL is https://api.zoom.us/v2

Hey @rubin,

Oddly enough, I was able to reproduce the issue when I copied and pasted your payload, but I fixed it by typing the start_time myself.

Can you try copying and pasting this into your request body and let me know if it works:

{
	"topic":"Test Time",
	"type":2,
	"start_time":"2020-03-20T07:00:00",
	"duration":30,
	"timezone": "Asia/Shanghai"
}

Thanks,
Tommy

Hi @tommy
Yeah, by using your json data as payload, the API works correctly. But why?

Brs,
Rubin

1 Like

Hey @rubin,

I am not sure to be honest. It might be something with the start_time number characters? Seems like a strange edge case.

Glad it works :slight_smile:

-Tommy

Thanks @tommy ,

Brs,
Rubin

1 Like

Happy to help!

Let us know if you see any other issues like this.

Thanks,
Tommy

Hi
I tried with below payload

https://api.zoom.us/v2/users/{uid}/meetings
{
“topic”: “Test Zoom 5”,
“type”: 8,
“recurrence”: {
“type”: 2,
“repeat_interval”: 1,
“end_times”:50
},
“start_time”: “2020-08-20T07:00:00”,
“timezone”: “America/New_York”,
“duration”: 120,
“password”: “AVxfL7uKBO”,
“agenda”: "zoom test 5
}

This creates a recurring meeting starting from
“occurrences”: [
{
“occurrence_id”: “1598180400000”,
“start_time”: “2020-08-23T11:00:00Z”,
“duration”: 120,
“status”: “available”
},
{
“occurrence_id”: “1598785200000”,
“start_time”: “2020-08-30T11:00:00Z”,
“duration”: 120,
“status”: “available”
},
{

}

and so on

Tried with various dates, there is an offset in the days

Hey @wajooba,

Please specify what the actual issue is.

Thanks,
Tommy

I was facing the same issue. It seems like if the recurrence type is 2 (weekly) or 3 (monthly) , you need to pass the weekly_days or the monthly_day, respectively, otherwise they will default to 1 (Sunday for weekly, or the first day of the month for monthly).

It would be nice to update the documentation to reflect that. My assumption was that Zoom will automatically compute those values based on the start_time.

Hey @Elie,

Thanks for the suggestions!

@shrijana.g @michael.zoom can you mention this in the docs?

-Tommy