List Messages
Returns a list of messages from an extension mailbox.
Path parameters
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
Internal identifier of the RingCentral extension/user (can be set to "~" to indicate that the extension associated with current authorization session should be used)
Query parameters
Specifies the availability status for resulting messages. Multiple values are accepted
Specifies a conversation identifier for the resulting messages
Start date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours
End date/time for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time
Direction for resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted
If true, then the latest messages per every conversation ID are returned
Type of resulting messages. If not specified, all messages without message type filtering are returned. Multiple values are accepted
Read status for resulting messages. Multiple values are accepted
Indicates a page number to retrieve. Only positive number values are accepted
Indicates a page size (number of items)
Phone number. If specified, messages are returned for this particular phone number only
Response
Message list
Example response
{
"records": [
{
"id": 1724099032020
}
]
}