Use this method to retrieve outbound and inbound SMS or MMS messages in Newline-Delimited JSON (NDJSON) format. Useful for bulk data export.
An API key to authorize your request
Start date of your search time range, in yyyy-mm-dd HH:MM:SS format.
"2023-04-10T00:00:00.000Z"
End date of your search time range, in yyyy-mm-dd HH:MM:SS format.
"2023-04-13T23:59:59.000Z"
Filter messages by the direction of SMS 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"
Newline-delimited JSON stream of message objects
"{\"message_id\":\"3a525ca2-6909-4c72-9399-905adf7f3a74\",\"message_type\":\"sms\",\"from\":\"15072429497\",\"to\":\"16419252149\",\"direction\":\"outbound\",\"status\":\"delivered\"}\n{\"message_id\":\"4b636ca3-7900-5d83-a400-016bf8f8f4b85\",\"message_type\":\"sms\",\"from\":\"15072429497\",\"to\":\"16419252150\",\"direction\":\"outbound\",\"status\":\"delivered\"}\n"