<?php require_once 'plivo-voicemail/plivo.php'; $auth_id = "MAYJDLMZEWODQWNTC5ZJ"; $auth_token = "NTY1N2VmN2E2ZTllYjhjYWRmYTNiOTk2MTJlNzA4"; $p = new RestAPI($auth_id, $auth_token); //Get Account $response = $p->get_account(); echo "<br>"; print_r($response); echo "</br>"; /* //Modify Account $params = array ( 'name' => 'Modified Name', 'city' => 'Modified City', 'address' => 'Changed Address', ); $response = $p->modify_account($params); //Create Subaccount $response = $p->create_subaccount(); //Get Subaccounts $response = $p->get_subaccounts(); //Delete Subaccount $params = array( 'subauth_id' => 'XXXXXXXXXXXXXXXXXXXX',