# How create meeting

**URL:** <https://devforum.zoom.us/t/how-create-meeting/36370>\
**Category:** API and Webhooks\
**Created:** [November 18, 2020, 4:22pm UTC](https://devforum.zoom.us/t/how-create-meeting/36370 "2020-11-18T16:22:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paolo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paolo/32/18967_2.png) [@Paolo](https://devforum.zoom.us/u/Paolo)\
**Post date:** [November 18, 2020, 4:22pm UTC](https://devforum.zoom.us/t/how-create-meeting/36370/1 "2020-11-18T16:22:47Z")

</div>

Hi  
I would like to create a zoom meeting from my web application.  
i created a jwt type app  
but i can’t figure out how to create the meeting

in the example the response is always “invalid tocken”

var client = new RestClient(“[https://api.zoom.us/v2/users/501354/meetings”](https://api.zoom.us/v2/users/501354/meetings%E2%80%9D));  
var request = new RestRequest(Method.POST);  
request.AddHeader(“content-type”, “application/json”);  
request.AddHeader(“authorization”, “Bearer ”);  
request.AddParameter(“application/json”, “{“topic”:“string”,“type”:“integer”,“start\_time”:“string [date-time]”,“duration”:“integer”,“schedule\_for”:“string”,“timezone”:“string”,“password”:“string”,“agenda”:“string”,“recurrence”:{“type”:“integer”,“repeat\_interval”:“integer”,“weekly\_days”:“string”,“monthly\_day”:“integer”,“monthly\_week”:“integer”,“monthly\_week\_day”:“integer”,“end\_times”:“integer”,“end\_date\_time”:“string [date-time]”},“settings”:{“host\_video”:“boolean”,“participant\_video”:“boolean”,“cn\_meeting”:“boolean”,“in\_meeting”:“boolean”,“join\_before\_host”:“boolean”,“mute\_upon\_entry”:“boolean”,“watermark”:“boolean”,“use\_pmi”:“boolean”,“approval\_type”:“integer”,“registration\_type”:“integer”,“audio”:“string”,“auto\_recording”:“string”,“enforce\_login”:“boolean”,“enforce\_login\_domains”:“string”,“alternative\_hosts”:“string”,“global\_dial\_in\_countries”:[“string”],“registrants\_email\_notification”:“boolean”}}”, ParameterType.RequestBody);  
IRestResponse response = client.Execute(request);

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 19, 2020, 5:16pm UTC](https://devforum.zoom.us/t/how-create-meeting/36370/2 "2020-11-19T17:16:39Z")

</div>

Hi @Paolo,

How are you generating your token? Are you copying the JWT token from your app or are you generating this in your code?

If you’re grabbing the token from your app, please ensure you’re clicking on the **^View JWT Token** dropdown under the Credentials tab and are grabbing the token from there. I would recommend double checking that the expiration date is valid as well.

Let me know if this helps,  
Will

---

<div class="post-metadata">

**Author:** ![Paolo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paolo/32/18967_2.png) [@Paolo](https://devforum.zoom.us/u/Paolo)\
**Post date:** [November 20, 2020, 8:50am UTC](https://devforum.zoom.us/t/how-create-meeting/36370/3 "2020-11-20T08:50:52Z")

</div>

HI thanks for the answer  
now the message it gives me is {“code”: 124, “message”: “The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256”}  
I just have to “invoke” a meeting by zoom from my web-application, then after the users click on the email and do it directly via Zoom is it possible?  
is it okay if I use JWT?

---

<div class="post-metadata">

**Author:** ![Paolo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paolo/32/18967_2.png) [@Paolo](https://devforum.zoom.us/u/Paolo)\
**Post date:** [November 20, 2020, 8:56am UTC](https://devforum.zoom.us/t/how-create-meeting/36370/4 "2020-11-20T08:56:32Z")

</div>

ok now  
[https://api.zoom.us/v2/users?status=active&page\_size=30&page\_number=1](https://api.zoom.us/v2/users?status=active&page_size=30&page_number=1)  
it works for me  
now I have to create the meeting

---

<div class="post-metadata">

**Author:** ![Paolo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paolo/32/18967_2.png) [@Paolo](https://devforum.zoom.us/u/Paolo)\
**Post date:** [November 20, 2020, 11:52am UTC](https://devforum.zoom.us/t/how-create-meeting/36370/5 "2020-11-20T11:52:48Z")

</div>

OK perfect  
I did it all thanks

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 23, 2020, 4:18pm UTC](https://devforum.zoom.us/t/how-create-meeting/36370/6 "2020-11-23T16:18:23Z")

</div>

Hey @Paolo,

Glad you were able to figure it out!

Best,  
Will

---

<div class="post-metadata">

**Author:** ![Paolo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/paolo/32/18967_2.png) [@Paolo](https://devforum.zoom.us/u/Paolo)\
**Post date:** [November 23, 2020, 4:56pm UTC](https://devforum.zoom.us/t/how-create-meeting/36370/7 "2020-11-23T16:56:22Z")

</div>

Hi Will,  
I take this opportunity to ask a small question.  
i created my jwt app which allows me to create meetings.  
but now how do i associate users with my app so that i can create meetings with different users?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 24, 2020, 7:18pm UTC](https://devforum.zoom.us/t/how-create-meeting/36370/8 "2020-11-24T19:18:39Z")

</div>

Hey @Paolo,

Good question! In order to associate a meeting with a user, you’ll need to create that meeting under the user ID of the user you wish to be the host of the meeting.

In your request to the [Create Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate), you’ll designate the host user in the request URL:  
`/users/{userId}/meetings`

For participants, you don’t need to associated them with a meeting, but rather you can share the join\_url in the Create Meeting API response with them in order for them to join as participants.

Let me know if this helps!  
Will

---

<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:** [December 25, 2020, 5:18am UTC](https://devforum.zoom.us/t/how-create-meeting/36370/9 "2020-12-25T05:18:55Z")

</div>

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