tried to get message list from an extension by call: /restapi/v1.0/account/:accountId/extension/:extensionId/message-store
but it looks like returned 200 with 0 items as below response:
{
"uri": "https://platform.ringcentral.com/restapi/v1.0/account/3245691008/extension/62538302008/message-store?availability=Alive&dateFrom=2022-06-12T04:58:00.000Z&page=1&perPage=100",
"records": t],
"paging": {
"page": 1,
"totalPages": 1,
"perPage": 100,
"totalElements": 0
},
"navigation": {
"firstPage": {
"uri": "https://platform.ringcentral.com/restapi/v1.0/account/3245691008/extension/62538302008/message-store?availability=Alive&dateFrom=2022-06-12T04:58:00.000Z&page=1&perPage=100"
},
"lastPage": {
"uri": "https://platform.ringcentral.com/restapi/v1.0/account/3245691008/extension/62538302008/message-store?availability=Alive&dateFrom=2022-06-12T04:58:00.000Z&page=1&perPage=100"
}
}
}
I'm able to see and download all messages from Admin panel, but am not be able to do that via API. Is there any permission should I have?
Thanks.