question

Samyukta Bharadwaj avatar image
Samyukta Bharadwaj asked Samyukta Bharadwaj answered

User Permission vs App permissions

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."



permissions
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Samyukta Bharadwaj avatar image
Samyukta Bharadwaj answered

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



1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys