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.
-
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