I am trying to buy or rent number from plivo using its api but in return i always get
{ "api_id": "424ce834-6498-11ec-aca5-0242ac110002", "error": "not found" }
i tried every thing but it did not work
here is the code $ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.plivo.com/v1/Account/".$auth_id."/PhoneNumber/12513284788/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_USERPWD, $auth_id . ':' . $auth_token);
$headers = array();
$headers[] = 'Content-Type: application/json';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$result = curl_exec($ch);