A2PGetSmsHistoryRequest
Props
count
Optional
count: number
Maximum number of resulting rows fetched. Should be not bigger than 1000. If left blank, then the default value of 1000 is used
deliveryStatus
Optional
deliveryStatus: number
The delivery status ID: QUEUED - 1, DISPATCHED - 2, ABORTED - 3, REJECTED - 4, DELIVERED - 5, FAILED - 6, EXPIRED - 7, UNKNOWN - 8
destinationNumber
Optional
destinationNumber: string
The destination phone number
fromDate
Optional
fromDate: Date
Date from which the search is to start. Format is 'yyyy-MM-dd HH:mm:ss', time zone is UTC
messageId
Optional
messageId: number
| number[]
| any
Message id list separated by semicolons (;)
offset
Optional
offset: number
The first N records are skipped in the output
output
Optional
output: string
The output format. The following values available: json, csv, xls. The default value is json
sourceNumber
Optional
sourceNumber: string
The source phone number
toDate
Optional
toDate: Date
Date from which the search is to end. Format is 'yyyy-MM-dd HH:mm:ss', time zone is UTC