# Open meeting using ZAK started today to ask for credentials

**URL:** <https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728>\
**Category:** API and Webhooks\
**Created:** [September 20, 2021, 6:26pm UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728 "2021-09-20T18:26:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dani/32/23956_2.png) [@Dani](https://devforum.zoom.us/u/Dani)\
**Post date:** [September 20, 2021, 6:26pm UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728/1 "2021-09-20T18:26:17Z")

</div>

In our Internal app, working since 2020, starting from today Sep 20 / 2021, zoom is asking for credentials to start meetings using a link with ZAK.

Our APP generates a new ZAK each time the user what to start a meeting, so no problem of ZAK expiration.

If meetings are scheduled with normal unique Meeting ID, the app works normally and user can start meetings normally, impersonating the account and starting as a meeting HOST.  
But using the same code, with meetings scheduled with PMI, is not working any more since today.

Today we saw a change done by zoom two days ago in Saturday 18/2021

> **[Hosting multiple meetings simultaneously](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0068522)**
>
> Hosting concurrent, or simultaneous, meetings means that the same user is hosting more than one meeting

maybe some rule changed inside ZOOM and we need to adjust our code, but no info found yet.

**Error**

# If you are the meeting host, sign in to start the meeting(\*\*\*\*\*\*\*\*\*\*\*)

App Type, JWT.

Just refreshed Key+Secret, create a new meetings, changed the PMI ID number to a new one.  
Behaivor keeps the same.

Some info or guidelines will be appreciated.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 23, 2021, 11:55pm UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728/2 "2021-09-23T23:55:01Z")

</div>

Hey Dani,

We did make a recent change to our API which meant that some ZAK tokens created less than 30 days ago became invalid. You should be able to call the [Get a Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting) to obtain a new start\_url for that meeting.

You mentioned that you’ve created a new meeting. Does that mean that none of the start\_urls for any of your meetings are working?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![Dani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dani/32/23956_2.png) [@Dani](https://devforum.zoom.us/u/Dani)\
**Post date:** [September 24, 2021, 12:38am UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728/3 "2021-09-24T00:38:48Z")

</div>

MaxM, Thanks for the answer!

Well, as I said, this behavior only happens with meetings **scheduled using PMI.**  
Meetings with standard unique IDs, works flawlessly.

So, the workaround I’ve found was to write a small function to update the ZAK and call it just after the general call to get the meeting start\_url, and then “patch” the gotten start\_url with a new ZAK from my own zakupd function.

So, by sures your recent changes on the API is affecting start\_url links when using PMI, cause still today, is not working as before September Saturday 18.

my solution :

```auto

$newzak = zakupd ($token, 'admin@mydomain.edu'); //master admin acount with permission to schedule for others accounts.
$url_patched = 'https://mydomain.zoom.us/s/'.$myArray->{'pmi'}.'?zak='.$newzak->{'token'};

```

```auto
function zakupd ($token, $email){
    $curl2 = curl_init();
    curl_setopt_array($curl2, array(          
        CURLOPT_URL => "https://api.zoom.us/v2/users/".$email."/token?type=zak",
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_ENCODING => "",
        CURLOPT_MAXREDIRS => 10,
        CURLOPT_TIMEOUT => 30,
        CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
        CURLOPT_CUSTOMREQUEST => "GET",
        CURLOPT_HTTPHEADER => array(
          "authorization: Bearer $token",
          "content-type: application/json"
        ),
      ));    
    $response2 = curl_exec($curl2);
    $err = curl_error($curl2);
    curl_close($curl2);
    if ($err) {
        return "Error #:" . $err;
    } else {          
          $myArray2 = json_decode($response2);                 
          return $myArray2;        
        }   
  }

```

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 24, 2021, 10:50pm UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728/4 "2021-09-24T22:50:58Z")

</div>

Hey @Dani,

Thanks for clarifying. Just to confirm, you’re still seeing that calls to the [Get a Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting) (when using the PMI) have a ZAK token that’s incorrect?

If that’s the case, please send an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread. In that email, please include the App Name and App Owner Email where you’re seeing this.

I’ll use that information to investigate further.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![Dani](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dani/32/23956_2.png) [@Dani](https://devforum.zoom.us/u/Dani)\
**Post date:** [September 25, 2021, 9:16pm UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728/5 "2021-09-25T21:16:47Z")

</div>

Yes, the bug is still there…

I’ll do that, thanks a lot for your answers…

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 28, 2021, 9:46pm UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728/6 "2021-09-28T21:46:01Z")

</div>

Happy to help! We’ll follow up with you in the ticket.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [September 28, 2021, 9:46pm UTC](https://devforum.zoom.us/t/open-meeting-using-zak-started-today-to-ask-for-credentials/57728/7 "2021-09-28T21:46:05Z")

</div>

Closed on September 28, 2021, 9:46pm UTC


