Joining a programatically created meeting with Zoom SDK

Description
I have created a meeting using this api: https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate. I want to be able to now join that meeting using the zoom web SDK. Current meeting ID is 767491694. it works if I use my non-developer account to manually join via the zoom application, but not using the ZoomMtg.join method.

Error
When I try to join that meeting I receive the error Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again.

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

Which Endpoint/s?
https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate

Screenshots (If applicable)

Hey @brandonin, thanks for posting and using Zoom!

What is the Zoom v1 API you are calling that shows an error in the console?

Also may I ask where you are located?

Thanks,
Tommy

Hey @tommy, I am located in San Francisco and actually using this function from the sample web app:

ZoomMtg.generateSignature({
        meetingNumber: meetConfig.meetingNumber,
        apiKey: meetConfig.apiKey,
        apiSecret: meetConfig.apiSecret,
        role: meetConfig.role,
        success(res) {
            console.log('signature', res.result);
            ZoomMtg.init({
                leaveUrl: 'http://www.zoom.us',
                success() {
                    ZoomMtg.join(
                        {
                            meetingNumber: meetConfig.meetingNumber,
                            userName: meetConfig.userName,
                            signature: res.result,
                            apiKey: meetConfig.apiKey,
                            userEmail: 'email@gmail.com',
                            passWord: meetConfig.passWord,
                            success() {
                                $('#nav-tool').hide();
                                console.log('join meeting success');
                            },
                            error(res) {
                                console.log(res);
                            }
                        }
                    );
                },
                error(res) {
                    console.log(res);
                }
            });
        }
    });
1 Like

Hey @tommy I solved it. I was accidentally referencing the wrong argument. Works now.

1 Like

Hey @brandonin,

Happy to hear you got it working! :slight_smile:

Thanks,
Tommy

Hi I would just like to ask if how can I connect Zoom with our own booking platform website?

Hey @esther.placebookph,

You can use the OAuth flow, and the create meeting API.

Thanks,
Tommy

Hey @tommy
I’m new at using API’s and generally working on the backend. I would like to use the create meeting API to create a zoom meeting inside the zoom websdk-sample-angular app, then start the meeting as host in the app and have someone else join the meeting. I already created a JWT app. can you guide me through using the create meeting API on the backend

Hey @ruth.ndunge,

Here is the create meeting endpoint:

At the bottom, there are code samples in a number of languages:

Thanks,
tommy

hey @tommy
Thanks, i was able to create a meeting and it works fine

1 Like

You are welcome! :slight_smile:

-Tommy