How to create meeting id using SDK?


I want to create a signature using PHP code from my back end. As per the documentation, I’m using php code to generate signature

function generate_signature ( $api_key, $api_secret, $meeting_number, $role){
$time = time() * 1000 - 30000;//time in milliseconds (or close enough)
$data = base64_encode($api_key . $meeting_number . $time . $role);
$hash = hash_hmac(‘sha256’, $data, api_secret, true); _sig = $api_key . “.” . $meeting_number . “.” . $time . “.” . $role . “.” . base64_encode(hash); return rtrim(strtr(base64_encode(sig), ‘+/’, '-’), ‘=’);

To this function we need to pass meeting number, for testing purpose I am getting meeting id from zoom api “{userId}/meetings” which is provided in the documentation “”. But how to get a meeting id dynamically using ZOOM SDK…?? Can someone please guide me. I am stuck with this from past one week.

Thank you.

Hey @wikikidslimited,

To get a meeting ID dynamically you need to use the Create Meeting API along with the Web SDK. :slight_smile:

You cannot do it directly with the Web SDK.