Skip to main content

Communicationmessagesearchsortingcriteria

The sorting criteria used for Messages search.

fieldstringrequired

Sort Messages By

Possible values: [encodedKey, creationDate, sendDate, senderKey, clientKey, groupKey, userKey, type]

orderstring

The sorting order: ASC or DESC. The default order is DESC.

Possible values: [ASC, DESC]

Communicationmessagesearchsortingcriteria
{
"field": "encodedKey",
"order": "ASC"
}