Returns SMS and MMS messages in newline-delimited JSON (NDJSON) format.
Bearer token using appid (Authorization: Bearer
Start date in YYYY-MM-DDTHH:MM:SS format.
"2023-04-10T00:00:00"
End date in YYYY-MM-DDTHH:MM:SS format.
"2023-04-13T23:59:59"
Message direction for filtering.
Allowed values are inbound, outbound.
"outbound"
Message sender. For outbound messages, the Sender ID used to send
the message;
for inbound messages, the originating phone number.
"15072429497"
Message recipient. For outbound messages,
the destination phone number;
for inbound messages,
the SMS-enabled number that received the message.
"16419252149"
Message delivery status for filtering. Message delivery status.
accepted, pending, sent, delivered, undelivered, expired, rejected, dlr_expired Tag for filtering. Supported for outbound messages only.
"campaignX"
Message type for filtering. Allowed values are sms, mms.
sms, mms "sms"
NDJSON stream of messages.
Newline-delimited JSON stream of messages.
"{\"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"