---
title: "Export messages"
method: GET
path: "/v3/messages/all"
tags: ["SMS and MMS"]
---

# Export messages

`GET /v3/messages/all`

Streams matching SMS and MMS messages as newline-delimited JSON (NDJSON), one message per line, for bulk export.

## Query parameters

- `sent_after` string
- `sent_before` string
- `type` string, required
- `from` string
- `to` string
- `status` 'accepted' | 'pending' | 'sent' | 'delivered' | 'undelivered' | 'expired' | 'rejected' | 'dlr_expired' — Current delivery status of the message. One of: - `accepted` — the message was accepted by the platform for sending. - `pending` — the message is queued and awaiting a carrier response. - `sent` — the message was handed to the carrier. - `delivered` — the carrier confirmed delivery to the handset. - `undelivered` — the carrier reported that delivery failed. - `expired` — the validity period elapsed before the message was sent. - `rejected` — the message was rejected before sending. - `dlr_expired` — no delivery receipt arrived from the carrier within the expected window.
- `tag` string
- `message_type` 'sms' | 'mms'

## Response `200`

Returns an NDJSON stream of messages, one per line.

## Other responses

- `403` — Request failed. The feature is disabled for your account.

---

[API](https://skmtc.net/wavix/apis/wavix-apis.md) · [All operations](https://skmtc.net/wavix/apis/wavix-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wavix/wavix-apis/versions/b22f170488b6/schema)
