Add a Message Store API endpoint that allows you to pull messages for all or a selection of extension ids
The existing Message Store "List Messages" endpoint requires you to run it for each individual extension id, whether or not that extension has any messages for the specified time period (dateFrom to dateTo). This is incredibly inefficient if you have a large number of SMS enabled extensions.
I had hoped that the Message Exports "Create Message Store Report" would allow me to pull this data more efficiently, but it takes forever to complete, so it can't reliably be run frequently.
![](https://secure.gravatar.com/avatar/425c1585da0a002eeaa445290b1c1786?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Christopher commented
This new Message Store API endpoint could be similar to the Call Log "List Company Call Records" endpoint that returns all of the calls for a given account.
Or it could be similar to the Call Log "Get User Call Record(s)" endpoint that takes multiple callRecordIds, instead taking a list of multiple extension ids.
-
Cesar commented
Great idea