Skip to main content
Question

Retrieving Messages from the Message Store

  • February 6, 2026
  • 1 reply
  • 12 views

I had a question. Is there a sort order for the messages listed from the message store? Will it automatically show the latest first? I was looking at the docs (https://developers.ringcentral.com/api-reference/Message-Store/listMessages), but couldn’t find any specific information about it. Thank you.

1 reply

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • February 6, 2026

The list message API always returns message records in descending order, meaning newest/latest message first.

There are 2 important filter params, the “dateFrom” and “dateTo” to list message records for a given time period. If these params are omitted, the default time period is 24 hrs back from the current time.