When I make requests to the API to obtain the data of the messages by user, I receive this error as a response:
“In order to call this API endpoint for another extension, one of the following permissions [ReadMessages] have to be granted with extended scope to the authorized user.”
- endpoint: /restapi/v1.0/account/accountId/extension/extensionId/message-store
(https://developers.ringcentral.com/api-reference/Extensions/listExtensions)
What permits are necessary? And where can I assign them?