Skip to main content

What should you do when you run into an error like this

"In order to call this API endpoint, one of the following permissions [ReadCompanyAnsweringRules] have to be granted to the authorized user."

Or something like this

"In order to call this API endpoint, one of the following permissions [ReadCompanyCallLog] have to be granted to the authorized user."



These are user permissions when you are trying to access account level endpoints such as

https://developers.ringcentral.com/api-reference/Call-Handling-Rules/listCompanyAnsweringRules


/restapi/v1.0/account/accountId/answering-rule

Or

https://developers.ringcentral.com/api-reference/Call-Log/readCompanyCallLog

/restapi/v1.0/account/accountId/call-log


These are different from the App permission or the App Scope in the documentation. User Permission requires you to be a super admin. Or you need to have a custom role that allows the user to access that particular Role item. For instance, if you want a user to be able to make the above call log API, they should have the Company Call log section checked in their Role description.

screen-shot-2023-03-30-at-85811-am.png



Reply