# How to create meeting id using SDK?

**URL:** <https://devforum.zoom.us/t/how-to-create-meeting-id-using-sdk/31108>\
**Category:** Web\
**Created:** [September 23, 2020, 4:35pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-id-using-sdk/31108 "2020-09-23T16:35:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wikikidslimited](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wikikidslimited/32/3615_2.png) [@wikikidslimited](https://devforum.zoom.us/u/wikikidslimited)\
**Post date:** [September 23, 2020, 4:35pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-id-using-sdk/31108/1 "2020-09-23T16:35:51Z")

</div>

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](https://api.zoom.us/v2/users/%7BuserId%7D/meetings)” which is provided in the documentation “[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting](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.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 24, 2020, 8:37pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-id-using-sdk/31108/2 "2020-09-24T20:37:46Z")

</div>

Hey @wikikidslimited,

To get a meeting ID dynamically you need to use the [Create Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) along with the Web SDK. 🙂

You cannot do it directly with the Web SDK.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 25, 2020, 6:38am UTC](https://devforum.zoom.us/t/how-to-create-meeting-id-using-sdk/31108/3 "2020-10-25T06:38:00Z")

</div>

Closed on October 25, 2020, 6:38am UTC

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