question

Data Archival API avatar image
Data Archival API asked Anirban edited

In order to call this API endpoint, user needs to have [ReadCompanyCallLog] permission.

I am not able to read [Get Company Call Logs Records] API,


App Permission

ReadCallLog

User Permission

FullCompanyCallLog

Usage Plan Group

Heavy


params = {
    'view': 'Simple',
    'dateFrom': '2019-08-04',    
}
try:

    resp = platform.get('/restapi/v1.0/account/~/call-log', params)


rest api
1 |1500 characters needed characters left characters exceeded

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

Phong Vu avatar image
Phong Vu answered Phong Vu edited

It means that in order to read the call log of an entire account (call data of all extensions under an account) you need to login with the admin extension 101 or other extensions with the admin role.

If you login with a normal user extension (User role) use this endpoint '/restapi/v1.0/account/~/extension/~/call-log'

1 |1500 characters needed characters left characters exceeded

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

Anirban avatar image
Anirban answered Anirban edited

The main reason is this is an admin root access level to read the company level log and access the call log of all extension under the account.

Active Calls, Account level Call Log Records, and Extension level Call Log Records require the ReadCallLog API permission.

ref: https://developers.ringcentral.com/guide/voice/call-log/reading-call-log

more info: https://forums.developers.ringcentral.com/questions/162/call-logs-for-individual-accounts.html

1 |1500 characters needed characters left characters exceeded

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