You can track the messages you have sent during a certain period by submitting the Get Messages Details Within Date Range API request. The API will return an array of multiple records. Each record includes the details of an SMS message that was sent during the provided date range in the API request. You can also specify the number of SMS messages you want to receive per response page, as well as the response page index number you want to receive.
To use Cequens Get Messages Details Within Date Range API, first submit an HTTP Request with the date range, and other optional details, and then receive a Response that includes the details of all SMS messages sent during the provided date range.
Success Response
The data key in the Get Messages Details Within Date Range Success response is an array that includes a number of records, one for each SMS sent within the submitted date range. Each record includes the following details about the SMS message that you are tracking:
Parameter | Description |
|---|---|
Id | A string that returns the SMS ID of the message to be tracked. |
AccountId | An integer that represents the ID of the account used to send the SMS. |
RequestId | A string that specifies the ID of the request submitted to send the SMS. |
Sender | A string that returns the sender’s name of the SMS. |
MessageText | A string that returns the actual message content of the SMS |
Recipient | The Mobile Recipient |
Status | An integer that specifies the delivery status of the SMS. Its possible values are:
|
SentDate | A string that returns the date and time on which the SMS was sent. |