question

Data Archival API avatar image
Data Archival API asked ·

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)


api permissions
1 |1000 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 ·

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'

Share
1 |1000 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 Sen Chowdhary avatar image
Anirban Sen Chowdhary answered ·

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

Share
1 |1000 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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