Zoho WorkDrive API Problem

Zoho WorkDrive API Problem

I tried accessing the API listed here https://workdrive.zoho.com/apidocs/v1/folders more specifically List Files/Folders inside a Folder.

The code that I utilize to attempt this is as follows:

$post = [
    'Zoho-oauthtoken' => '1000.f189b94e54fe74192837c3e3df3be21a.10a079e7b1cfb9cdc86cc1dcbd191363',
    'client_secret' => '',
    'client_id' => '',  
];



$ch = curl_init();
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'GET' );
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));

$response = curl_exec( $ch );

echo '<pre>';
print_r($response);


Unfortunately I get the following error:
{"errors":[{"id":"R008","title":"Unauthorized access"}]}

I event tried the following in the URL bar:

And with that I get the following error:
{"errors":[{"id":"F6012","title":"Number of parameters is more than specified"}]}

Any help would be greatly aprpeciated.