I referred below documentation related placing call from Zoom Call API but after hitting API it does not open Zoom client app to call on provided phone number.
To use this schema to place an outbound call, you should be formatting your URL as follows: zoomphonecall://{phoneNumbertoCall}?cat=seccall&token={jwttoken}
long currentEpochTimeSeconds = ((DateTimeOffset)utcNow).ToUnixTimeSeconds(); // current epoch timestamp in seconds in long format
long tokenExpiryTimeSeconds = ((DateTimeOffset)utcNow.AddSeconds(300)).ToUnixTimeSeconds(); //expiration timestamp for the JWT in seconds in long format
SigningCredentials credentials = new SigningCredentials(new SymmetricSecurityKey(symetricKey), SecurityAlgorithms.HmacSha256);
JwtHeader header = new JwtHeader(credentials);
JwtPayload payload = new JwtPayload
{
{ "iss", apikey},
{ "iat", currentEpochTimeSeconds },
{ "exp", tokenExpiryTimeSeconds },
{ "oid", toPhoneNumber },
{ "uid", "abc@xyz.com" } // EmailAddress which user must logged into the Zoom Client app using their Zoom account.
};
SecurityToken token = new JwtSecurityToken(header, payload);
JwtSecurityTokenHandler tokenHandler = new JwtSecurityTokenHandler();
string tokenString = tokenHandler.WriteToken(token);
string url = $"https://api.zoom.us/v2/zoomphonecall://{toPhoneNumber}?cat=seccall&token={tokenString}";
RestClient client = new RestClient(url);
RestRequest request = new RestRequest(Method.POST);
request.AddHeader("content-type", "application/json");
IRestResponse restResponse = client.Execute(request);