Tracking
Delivery reports
Message statuses, the lifecycle, and how to read a message's history.
Status lifecycle#
| Field | Type | Description |
|---|---|---|
queuedoptional | initial | Accepted and charged; waiting to be sent to the provider (or scheduled). |
submittedoptional | in progress | Accepted by the upstream provider. Shown as "Sent" in the dashboard. |
deliveredoptional | final | The provider reported delivery to the handset. |
failedoptional | final | Could not be delivered (e.g. unreachable handset), or failed after retries. |
rejectedoptional | final | Refused by the provider or operator. |
expiredoptional | final | No final report within the validity period (72 hours). |
cancelledoptional | final | Cancelled before sending (e.g. a cancelled campaign). |
Statuses only move forward. A late or repeated report never changes a final status.
Get a message#
GET
/api/v1/messages/{id}Scope: messages:readcurl https://sms.marketian.net/api/v1/messages/5b0f2c7e-7a55-4b1e-9d0a-3c1d2e4f6a70 \
-H "Authorization: Bearer $MZSMS_API_KEY"List messages#
GET
/api/v1/messagesScope: messages:read| Field | Type | Description |
|---|---|---|
statusoptional | string | Filter by status. |
tooptional | string | Filter by recipient number. |
referenceoptional | string | Filter by your reference. |
from / untiloptional | date | Created between these dates (UTC). |
limitoptional | 1-100 | Page size, default 25. |
cursoroptional | string | Value of meta.nextCursor from the previous page. |
curl "https://sms.marketian.net/api/v1/messages?status=failed&from=2026-09-01&limit=50" \
-H "Authorization: Bearer $MZSMS_API_KEY"Failures and refunds#
Failed, rejected and cancelled messages are refunded to your wallet (see the refund policy). The response and webhook include error_code and error_message as reported by the provider.