Sync Messages
Synchronizes messages.
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
Conversation identifier for the resulting messages. Meaningful for SMS and Pager messages only.
The 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
The 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 the 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 for the resulting messages. If not specified, all types of messages are returned. Multiple values are accepted
Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified)
A syncToken value from the previous sync response (for ISync mode only, mandatory)
Type of message synchronization request:
- FSync -- full sync
- ISync -- incremental sync
Type of message synchronization
This query parameter will filter voicemail messages based on its owner. This parameter should be controlled by the 'SharedVoicemail' feature. If the feature is disabled this filter shouldn't be applied.
Response
Success
Example response
{
"records": [
{
"id": 1724099032020
}
]
}