I can't get any of the API calls to answer me. it always returns as 404 Not found
Im using the nugget C# library
im using the following code
using RingCentral;
####
string appKey = "MYKEY";
string appSecret = "MYSECRET";
string phoneNumber = "+15178853031";
string password = "MYPASSWORD";
string country = "44";
rc = new RestClient(appKey, appSecret);
await rc.Authorize(phoneNumber, "101", password);
var tokenString = rc.token.access_token;
var extension = rc.Restapi("v1.0").Account("15178853031").Extension("101");
var requestBody = new
{
country = new { id = country },
from = new { phoneNumber = phoneNumber },
to = new object[] { new { phoneNumber = "+4407922204537" } },
playPrompt = "true",
};
var response = await extension.RingOut().Post(requestBody);
what I get is that :
Call failed with status code 404 (Not Found): POST https://platform.devtest.ringcentral.com/restapi/v1.0/account/15178853031/extension/101/ring-out
even using the API page to TRY now, returns that if i set the values for Account and Extension.
any ideas?