Get message status
GET /v1/messages/{messageId} or GET /v1/messages?clientRef=smsup-0001
Returns the latest status and the event timeline.
Response 200
json
{
"messageId": "b7e1c2d4-0000-4000-8000-000000000001",
"clientRef": "smsup-0001",
"route": "SANDBOX",
"channel": "HTTP",
"status": "DELIVERED",
"errorCode": null,
"providerCode": "000",
"operator": "SANDBOX",
"from": "SANDBOX",
"toMasked": "668xxxx5678",
"parts": 1,
"encoding": "UCS2",
"acceptedAt": "2026-11-30T10:00:00.120+07:00",
"submittedAt": "2026-11-30T10:00:00.125+07:00",
"sentAt": "2026-11-30T10:00:01.130+07:00",
"finalAt": "2026-11-30T10:00:03.128+07:00",
"events": [
{
"stage": "submitted",
"status": "PENDING",
"code": "",
"providerCode": "",
"occurredAt": "2026-11-30T10:00:00.125+07:00"
},
{
"stage": "sent",
"status": "PENDING",
"code": "",
"providerCode": "000",
"partNo": 1,
"occurredAt": "2026-11-30T10:00:01+07:00"
},
{
"stage": "delivered",
"status": "DELIVERED",
"code": "000",
"providerCode": "000",
"partNo": 1,
"occurredAt": "2026-11-30T10:00:03+07:00"
}
]
}events are in the order the Gateway received them; each part of a long message has its own events (partNo), and duplicate DRs are recorded every time. errorCode is set on failure, e.g. UNDELIVERED, EXPIRED, SENDER_SUSPENDED. The destination is shown masked (toMasked).
Status only moves forward: a late or duplicate DR never moves DELIVERED back to SENT.
An unknown message, or another client's message, returns 404 MESSAGE_NOT_FOUND.