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

# Export messages

`GET /v3/messages/all`

## Request

- Base URL: `https://api.wavix.com`
- URL: `https://api.wavix.com/v3/messages/all`
- Auth: HTTP bearer

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

- `401`: Unauthorized
- `403`: Request failed. The feature is disabled for your account.

## Changes

- **2026-09-08** `6a89c962481c`: 1 breaking, 10 info
  - the `query` request parameter `status` was restricted to a list of enum values
  - added the new enum value `accepted` to the `query` request parameter `status`
  - added the new enum value `delivered` to the `query` request parameter `status`
  - added the new enum value `dlr_expired` to the `query` request parameter `status`
  - …7 more
- **2026-05-25** `33be77905120`: 1 info
  - the endpoint scheme security `bearerAuth` was added to the API
- **2026-04-20** `2e48fd9894e1`: 1 info
  - api operation id `Getallmessages` removed and replaced with `sms_and_mms_messages_list_all`
- **2026-02-12** `fabaadf195a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wavix/apis/wavix-apis/changes/v3/messages/all/get.md)

---

[API](https://skmtc.dev/wavix/apis/wavix-apis.md) - [All operations](https://skmtc.dev/wavix/apis/wavix-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/wavix/apis/wavix-apis/revisions/f2dde79f05ab?raw)
