Use this method to retrieve outbound and inbound SMS or MMS. Messages can be filtered by date, originating (Sender ID), destination phone numbers, or message tag.
By default, the results are paginated with 25 records per page.
An API key to authorize your request
Start date of your search time range, in yyyy-mm-dd format.
"2023-04-10T00:00:00.000Z"
End date of your search time range, in yyyy-mm-dd format.
"2023-04-13T00:00:00.000Z"
Filter messages by the direction of the traffic, i.e. inbound or outbound
"outbound"
Filter messages by SMS sender. For outbound message contains a Sender ID used to sent the message, for inbound message contains a phone number originated the message.
"15072429497"
Filter messages by destination phone number. For outbound message contains phone number the message was sent to, for inbound message contains a SMS-enabled DID on the Wavix platform.
"16419252149"
Filter messages by message delivery status.
accepted, pending, sent, delivered, undelivered, expired, rejected, dlr_expired Filter messages by tag. For outbound SMS and MMS messages only, for inbound messages the parameter is ignored.
"campaignX"
Filter messages by message type (SMS or MMS)
sms, mms "sms"
Requested page
2
Number of records per page
50