Skip to main content

I have been trying to get this right
https://platform.ringcentral.com/restapi/v1.0/account/~/extension/495101030/authz-profile/check?permissionId=ReadRingSenseInsights

to check only if this extension has ring sense enabled so i can retrieve and log its daily activity but i am getting this error,

 

{

    "errorCode": "CMN-404",

    "message": "Attempt to access another extension",

    "errors": r

        {

            "errorCode": "CMN-404",

            "message": "Attempt to access another extension"

        }

    ]

}

That API is for checking if a user (currently authenticated) has the permission to read RingSense data of other users under the account.

That API is for checking if a user (currently authenticate) has the permission to read RingSense data under the account.

To check if a user has a RingSense license or not, you have to call this API.

let endpoint = `/restapi/v1.0/account/~/extension/${extId}/features`

var resp = await platform.get(endpoint, {

              featureId: a"RingSenseForSales"]

            })


Thank you. this works