Log in on https://developers.ringcentral.com/ . Go to Developer Console -> Apps -> Select your app -> Settings -> App Permission section -> Tick on your Read Message permission
You could also take a look at other stuff there to have better idea of what can be configured for your app :)
Thank you for the quick response.
In fact, my application has already assigned that permission but it still keeps throwing me that error.
What else can I do?
Thank you for the quick response.
In fact, my application has already assigned that permission but it still keeps throwing me that error.
What else can I do?
The error message is misleading. I guessed that you try to read the message store of another user extension, not the user extension who is authenticated to call the API
- endpoint: /restapi/v1.0/account/accountId/extension/[extensionId]/message-store
Try this to read the message store of the extension being authenticated:
- endpoint: /restapi/v1.0/account/~/extension/~/message-store
If you get the list of extensions and get the extension id to read the message store of each extension under the account. You must login your app with an "Admin user" extension.
- endpoint: /restapi/v1.0/account/~/extension/[extensionId]//message-store