How to create meeting id using SDK?

Hi,

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 “https://api.zoom.us/v2/users/{userId}/meetings” which is provided in the documentation “https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting”. 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.

Thanks,
Tommy

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