Question

I am trying retrieve a call log

  • 29 March 2018
  • 3 replies
  • 557 views

I am using in sand box the following:


I am getting this error.


{


"errorCode": "InsufficientPermissions", "message": "In order to call this API endpoint, application needs to have [ReadCallLog] permission", "errors": [ { "errorCode": "CMN-401", "message": "In order to call this API endpoint, application needs to have [ReadCallLog] permission", "permissionName": "ReadCallLog" } ], "permissionName": "ReadCallLog" }


I was using ~ because I I do not know where to find my account Id?


3 replies

Hi Bill,

As the error dictated, you need to open the app and add the "ReadCallLog" permission then try again.

If you don't know how to add permissions to your app. Please read this getting started doc (Section "Create your App" step 5.)

https://developer.ringcentral.com/library/getting-started.html

Kind regards,
Phong

Hi Paco-vu.

I did already, but I am keeping an error below.

{ "errorCode": "InsufficientPermissions", "message": "In order to call this API endpoint, one of the following permissions [ReadCompanyCallLog] have to be granted to the authorized user.", "errors": [ { "errorCode": "CMN-408", "message": "In order to call this API endpoint, one of the following permissions [ReadCompanyCallLog] have to be granted to the authorized user.", "permissionsName": "ReadCompanyCallLog" } ], "permissionsName": "ReadCompanyCallLog"}


I allowed ReadCallLog permission to my app, but I am getting an error below when I test api using Postman. I will use this api in my PHP.

But for now, api is not working on Postman, so I don't believe this api will work in my PHP.

Please see this.

https://prnt.sc/UDJ-YWFmJrEK


I am not clear why it keeps an error above.

Please let me know. Please help me!!

Thanks.

Please see this question and the answer provided: https://community.ringcentral.com/questions/8397/in-order-to-call-this-api-endpoint-user-needs-to-h-4.html

Reply