# Create Zoom Meeting From MVC Application

**URL:** <https://devforum.zoom.us/t/create-zoom-meeting-from-mvc-application/61476>\
**Category:** API and Webhooks\
**Created:** [December 15, 2021, 11:34am UTC](https://devforum.zoom.us/t/create-zoom-meeting-from-mvc-application/61476 "2021-12-15T11:34:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cis\_m7amed88](https://avatars.discourse-cdn.com/v4/letter/c/77aa72/32.png) [@cis\_m7amed88](https://devforum.zoom.us/u/cis_m7amed88)\
**Post date:** [December 15, 2021, 11:34am UTC](https://devforum.zoom.us/t/create-zoom-meeting-from-mvc-application/61476/1 "2021-12-15T11:34:31Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
in client Server, creating Zoom Meeting from POSTMAN work fine but from inside MVC application,C# it gives an error.

**Error**  
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.202.62.237:443

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
we tried to call the following API we used the JWT  
JWT

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings)

We Used the following Code:  
string ServiceUrl = API URL  
HttpWebRequest req = WebRequest.Create(ServiceUrl) as HttpWebRequest;  
req.ContentType = “application/json”;  
req.Method = “POST”;  
req.Headers[“Authorization”] = "Bearer " + ConfigurationManager.AppSettings[“ZoomToken”].ToString();

using (var streamWriter = new StreamWriter(req.GetRequestStream()))  
{  
string json = “{” +  
“"created\_at": "” + DateTime.Now + “",” +  
“"duration": 120,” +  
“"host\_id": "",” +  
“"id": 2,” +  
""join\_url": +  
“"settings": {” +  
“"alternative\_hosts": "",” +  
“"approval\_type": 2,” +  
“"audio": "both",” +  
“"auto\_recording": "",” +  
“"close\_registration": false,” +  
“"cn\_meeting": false,” +  
“"enforce\_login": false,” + “"enforce\_login\_domains": "",” +  
“"host\_video": true,” +  
“"in\_meeting": false,” +  
“"join\_before\_host": true,” +  
“"mute\_upon\_entry": false,” +  
“"participant\_video": false,” +  
“"registrants\_confirmation\_email": true,” +  
“"use\_pmi": false,” +  
“"waiting\_room": false,” +  
“"watermark": false,” +  
“"registrants\_email\_notification": true” +  
“},” +  
“"start\_time": "” + startDateTime + “",” +  
""start\_url": "[https://zoom.us/s/","](https://zoom.us/s//%22,%22) +  
“"status": "start",” +  
“"timezone": "",” +  
“"topic": "",” +  
“"type": 2,” +  
“"uuid": "ng1MzyWNQaObxcf3+Gfm6A=="” +  
“}”;

streamWriter.Write(json);  
streamWriter.Flush();  
streamWriter.Close();  
}  
var resp = req.GetResponse() as HttpWebResponse;  
string responseText = string.Empty;

using (var streamReader = new StreamReader(resp.GetResponseStream()))  
responseText = streamReader.ReadToEnd();

Dictionary\<string, string\> zoomMeetingInfo = JObject.Parse(responseText).Children().Select(jp =\> (JProperty)jp)  
.ToDictionary(p =\> p.Name.ToString(), p =\> p.Value.ToString());

---

<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:** [December 21, 2021, 6:02pm UTC](https://devforum.zoom.us/t/create-zoom-meeting-from-mvc-application/61476/2 "2021-12-21T18:02:13Z")

</div>

Hey @cis_m7amed88,

It sounds like this might be an environment specific issue. Is the environment you’re hosting your integration on experiencing connection issues? Have you tried searching a resource like stackoverflow, etc?

Thanks,  
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:** [January 21, 2022, 4:02am UTC](https://devforum.zoom.us/t/create-zoom-meeting-from-mvc-application/61476/3 "2022-01-21T04:02:57Z")

</div>

Closed on January 21, 2022, 4:02am UTC

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