/restapi/v1.0/account/:accountId/extension/:extensionId/message-store

GET {{baseUrl}}/restapi/v1.0/account/:accountId/extension/:extensionId/message-store?availability=<string>&conversationId=<long>&dateFrom=<dateTime>&dateTo=<dateTime>&direction=<string>&distinctConversations=<boolean>&messageType=<string>&readStatus=<string>&page=<integer>&perPage=<integer>&phoneNumber=<string>

Get Message List

Request Params

KeyDatatypeRequiredDescription
availabilitystringSpecifies the availability status for the resulting messages. Default value is 'Alive'. Multiple values are accepted
conversationIdstringSpecifies the conversation identifier for the resulting messages
dateFromstringThe start datetime 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
dateTostringThe end datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time
directionstringThe direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted
distinctConversationsstringIf 'True', then the latest messages per every conversation ID are returned
messageTypestringThe type of the resulting messages. If not specified, all messages without message type filtering are returned. Multiple values are accepted
readStatusstringThe read status for the resulting messages. Multiple values are accepted
pagestringIndicates the page number to retrieve. Only positive number values are allowed. Default value is '1'
perPagestringIndicates the page size (number of items). If not specified, the value is '100' by default
phoneNumberstringThe phone number. If specified, messages are returned for this particular phone number only