# Asp.Net Core Integration

**URL:** <https://devforum.zoom.us/t/asp-net-core-integration/84404>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [March 9, 2023, 4:28am UTC](https://devforum.zoom.us/t/asp-net-core-integration/84404 "2023-03-09T04:28:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmclean5](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mmclean5/32/44771_2.png) [@mmclean5](https://devforum.zoom.us/u/mmclean5)\
**Post date:** [March 9, 2023, 4:28am UTC](https://devforum.zoom.us/t/asp-net-core-integration/84404/1 "2023-03-09T04:28:58Z")

</div>

```
            var tokenHandler = new System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler();
            var now = DateTime.UtcNow;
            var apiSecret = **API Secret** ;
            byte[] symmetricKey = Encoding.ASCII.GetBytes(apiSecret);

            var tokenDescriptor = new SecurityTokenDescriptor
            {
                Issuer = **API Key** ,
                Expires = now.AddSeconds(300),
                SigningCredentials = new SigningCredentials(new SymmetricSecurityKey(symmetricKey), SecurityAlgorithms.HmacSha256),
            };

            var token = tokenHandler.CreateToken(tokenDescriptor);
            var tokenString = tokenHandler.WriteToken(token);

            var client = new RestClient("https://api.zoom.us/v2/users/khawaja.hammad@vaivaltech.com/meetings");
            var request = new RestRequest("POST");
            request.RequestFormat = DataFormat.Json;
            request.AddJsonBody(new { topic = "Meeting with Ussain", duration = "10", start_time = "2023-03-20T05:00:00", type = "2" });

            request.AddHeader("authorization", String.Format("Bearer {0}", tokenString));
            var restResponse = client.Execute(request);
            HttpStatusCode statusCode = restResponse.StatusCode;
            int numericStatusCode = (int)statusCode;

```

Hi,  
I am using this api for in my [asp.net](http://asp.net) core website to create mettings, but i did’t get the meeting link, it just only send the status code “OK”  
can you please guide me what i am doing wrong

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [March 13, 2023, 10:04pm UTC](https://devforum.zoom.us/t/asp-net-core-integration/84404/2 "2023-03-13T22:04:54Z")

</div>

Hi @mmclean5  
Thanks for reaching out to the Zoom Developer Forum and welcome to our community!  
I am happy to help here!  
Have you been able to troubleshoot this issue on your end?  
Let me know if you have been able to generate meetings correctly using our APIs

Cheers,  
Elisa

---

<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:** [March 16, 2024, 1:41pm UTC](https://devforum.zoom.us/t/asp-net-core-integration/84404/3 "2024-03-16T13:41:48Z")

</div>

Closed on March 16, 2024, 1:41pm UTC

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