Joining Meeting Timeout popup OK button behaviour

Hi! If I schedule a meeting and someone loads the meeting URL in my webpage before the meeting has started, it gets the following screenshot

If the user clicks the Ok button, it gets redirected to te leaveURL page, but the user really didn’t want to leave, because the meeting has not started yet.

Is there a possibility to catch the Ok button click event in that particular popup?
Is there a possibility to somehow tell the user that the meeting has not yet started but it’s up and scheduled?

Client Web SDK v1.9.0


Hey @ghiamar,

Thank you for reaching out to the Zoom Developer Forum. Good questions!

We don’t have a method to catch events from that button right now. You can test writing custom JS to override the events on that element but that would be outside the scope of what we can support here and may cause other issues in the Web SDK.

Yes, that’s definitely possible and I think that would be the best method to avoid sending the user to the leaveUrl before the meeting starts. In order to accomplish this, you can call the Get a Meeting API and use the status property from what is returned.

If the status is started, it’s safe to allow the user to join the meeting. If the status is waiting you can display your own information to the user.

I hope that helps! Let me know if you have any questions.


Cool, can I get Get a Meeting API endpoint using PHP curl and JWT API Key and API Secret?

Hey @ghiamar ,

Yes, checkout this example here on how to make an API request with a JWT Token:


Great nailed it! Posting PHP code using php-jwt

    $api_key = $apiKey;
    $api_secret = $apiSecret;
    $payload = array(
        'iss' => $api_key,
        'exp' => time() + 15,
    $jwt = JWT::encode($payload, $api_secret);
    $curl = curl_init();

    curl_setopt_array($curl, array(
        CURLOPT_URL => "$meetingID",
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTPHEADER => array(
            "authorization: Bearer $jwt",
            "content-type: application/json"

    $response = curl_exec($curl);
    $err = curl_error($curl);


    $ret = new JObject;
    $ret->result = false;
    $ret->response = '';

    if (!$err) {
        $ret->result = true;
        $ret->response = json_decode($response);

Hey @ghiamar,

I’m glad to hear that resolved your issue! Thank you for posting what workd for you. Please don’t hesitate to reach out if you encounter any further issues or questions.


1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.