# Is there an example (c# or http) how to create a meeting?

**URL:** <https://devforum.zoom.us/t/is-there-an-example-c-or-http-how-to-create-a-meeting/20699>\
**Category:** API and Webhooks\
**Created:** [June 8, 2020, 8:33pm UTC](https://devforum.zoom.us/t/is-there-an-example-c-or-http-how-to-create-a-meeting/20699 "2020-06-08T20:33:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamil\_sayfutdinov](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@shamil\_sayfutdinov](https://devforum.zoom.us/u/shamil_sayfutdinov)\
**Post date:** [June 8, 2020, 8:33pm UTC](https://devforum.zoom.us/t/is-there-an-example-c-or-http-how-to-create-a-meeting/20699/1 "2020-06-08T20:33:27Z")

</div>

I neet to write a service that create meetings. I believe it must be as easy as sending two requests to the Web API (using HttpClient in C#) but wasn’t able to find any (full) examples.

How to request a token using APIKey and APISecret? Or should I just use JWTToken from [https://marketplace.zoom.us/develop/apps/si88jLeySDaphFZMes8Vow/credentials](https://marketplace.zoom.us/develop/apps/si88jLeySDaphFZMes8Vow/credentials) ?

I don’t want to download and copy dll’s manually (to avoid version problems in the future) but using a NuGet package is OK.

---

<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:** [June 12, 2020, 6:23pm UTC](https://devforum.zoom.us/t/is-there-an-example-c-or-http-how-to-create-a-meeting/20699/2 "2020-06-12T18:23:49Z")

</div>

Hey @shamil_sayfutdinov,

I suggest using a [JWT Token](https://marketplace.zoom.us/docs/guides/auth/jwt), and then calling the [Create Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate).

You can see code examples at the bottom of each endpoint page:

 ![Screen Shot 2020-06-12 at 12.23.38 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/74ba36f6a329f2ec7a329709a02f637efafbdc79.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![shamil\_sayfutdinov](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@shamil\_sayfutdinov](https://devforum.zoom.us/u/shamil_sayfutdinov)\
**Post date:** [June 16, 2020, 7:05am UTC](https://devforum.zoom.us/t/is-there-an-example-c-or-http-how-to-create-a-meeting/20699/3 "2020-06-16T07:05:21Z")

</div>

This code doesn’t work:  
CS0246 The type or namespace name ‘RestClient’ could not be found

Also it was not clear how to generate JWT Token.

Your documentation is good but it assumes that a reader has some specific (not common) knowledge.

---

<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:** [June 19, 2020, 6:26am UTC](https://devforum.zoom.us/t/is-there-an-example-c-or-http-how-to-create-a-meeting/20699/4 "2020-06-19T06:26:42Z")

</div>

Hey @shamil_sayfutdinov,

> [@shamil\_sayfutdinov](#):
>
> CS0246 The type or namespace name ‘RestClient’ could not be found

Here are some docs on calling an API with C#: [Call a Web API From a .NET Client (C#) - ASP.NET 4.x | Microsoft Learn](https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client)

Thanks for your feedback on our docs, we will use it to improve them!

There are C# libraries that can help you [generate JWT Tokens](https://marketplace.zoom.us/docs/guides/auth/jwt) here: [jwt.io](http://jwt.io)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:08pm UTC](https://devforum.zoom.us/t/is-there-an-example-c-or-http-how-to-create-a-meeting/20699/5 "2020-08-21T22:08:56Z")

</div>

Closed on August 21, 2020, 10:08pm UTC


