$parentId='id of google drive file.';$t=curl_post('https://script.googleapis.com/v1/projects',[ CURLOPT_HTTPHEADER=> [ 'Content-Type: application/json', 'Authorization: Bearer '.$token, ]],json_encode([ 'title'=>'test script', 'parentId'=>$parentId]));