Hi,
Last 3 days, i am trying to access call logs from api using sandbox credentials but getting errors.
I get error of Invalid Authorization header when i am trying to access from PHP curl query.
Even i successfully authenticated with apis and get access token.
$headers = array( 'Accept: application/json',
'Authorization: Bearer' . $_SESSION['access_token']
);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$url='https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/call-log';
Kindly tell me how to get call logs from api using PHP curl script
Thanks,
Ajay Gupta