Asp.Net Core Integration

            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("");
            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;

I am using this api for in my 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

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


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