Creating meeting API with oauth

While creating meeting, i am passing following json
{
“topic”: “Discussion”,
“type”: “1”,
“start_time”: “10:00”,
“duration”: “30”,
“schedule_for”: “”,
“timezone”: “Asia/Kolkata”,
“password”: “Shework@12”,
“agenda”: “For Further discussion”,
“recurrence”: {
“type”: “1”,
“repeat_interval”: “1”,
“weekly_days”: “Sunday”,
“monthly_day”: “1”,
“monthly_week”: “1”,
“monthly_week_day”: “1”,
“end_times”: “1”,
“end_date_time”: “2020-06-14T10:21:57”
},
“settings”: {
“host_video”: true,
“participant_video”: true,
“cn_meeting”: “China”,
“in_meeting”: “India”,
“join_before_host”: true,
“mute_upon_entry”: true,
“watermark”: true,
“use_pmi”: true,
“approval_type”: “0”,
“registration_type”: “1”,
“audio”: “both”,
“auto_recording”: “local”,
“enforce_login”: true,
“enforce_login_domains”: “vrushali.k@itstelemerge.com”,
“alternative_hosts”: “vrushali.k@itstelemerge.com”,
“global_dial_in_countries”: [
“India”
],
“registrants_email_notification”: true
}
}

But I am getting error
{
“code”: 300,
“message”: “Request Body should be a valid JSON object.”
}

Please help me in solving this

Attaching the screenshot for better understanding.

Hope to hear back from you soon !

Hi @pooja.bangad many of the values you sent are integers, which means they do not need quotation marks around them. For example, instead of { “duration”: “30” } you should format the integer values: { “duration”: 30 }. Use the API Reference to see which of these need to be integers.

Also, start_time should be in ISO format: yyyy-MM-ddTHH:mm:ssZ. Example: 2020-09-21T12:00:00Z

Thanks Michael.It worked.

I want to ask quick question
I created meeting using create meeting API. Got Zoom Link as response. But when user tries to use the link to join meeting . Following is the error
image

Can you suggest the approach?

Thanks

Hi @pooja.bangad to be able to install an app, it needs to be Published as a public app on the App Marketplace.

Hi @Micheal,

We are currently in Development Phase.
Our Use case is is quite straight, we wish to schedule meeting between group of users and users should be able to attend the meeting on desired scheduled time.

My Question to you are;
1.) Do I have to create account for each user ? If I create meeting directly can they access zooom?
2.) If I want to publish app how long does it take to get published?

Looking forward to hear from you soon.

Hey @pooja.bangad,

You can use OAuth to have the users connect their Zoom account. Then you can create the meeting on their behalf.

If you create the meeting on your account, users will be able to join it if you give them the join_url, or meetingID and password.

Currently the turn around time is a few days to a week. For the fastest review possible, please follow the submission checklist:

Thanks,
Tommy

Hi Tommy,

If I give join_url to users to join meeting,they get message “Please wait for host to start this meeting”.

How users can join meeting without host ?

Thanks,
Pooja

Hey @pooja.bangad,

You can enable the join before host setting:

Thanks,
Tommy