Message statuses
Every message has a status. It starts as queued (or scheduled) and ends as delivered, failed, expired, rejected or cancelled. Webhooks tell you each change as it happens.
Each status
| Status | What it means | Final? |
|---|---|---|
scheduled | Waiting for its send_at time. The cost is set aside. | No |
queued | Accepted and on its way to the network. | No |
held | Waiting for a short check by SemaLink's team. Moves to queued when released. | No |
sent | Handed to the network. The cost is charged now. Waiting for the delivery report. | No |
delivered | The network confirmed it reached the phone. | Yes |
failed | It wasn't delivered. failure says why. | Yes |
expired | Sent, but no delivery report came back within 72 hours. | Yes |
rejected | Accepted, then not sent: the person opted out, or the contact was removed, before it went. Refunded. | Yes |
cancelled | Stopped before it went, for example because you cancelled its batch. Refunded. | Yes |
A number refused when you send (invalid, opted out already, another country, no price) never becomes a message at all: it's an error for a single send, or a rejection in a batch's recipients.
Each message also has times for its big steps (created_at, sent_at, delivered_at), and GET /v1/messages/{id} returns every status it has had in status_history, oldest first:
{
"id": "msg_3b9f6c2a1d4e4f5a8b7c6d5e4f3a2b1c",
"object": "message",
"status": "delivered",
"sent_at": "2026-12-01T07:30:02.000Z",
"delivered_at": "2026-12-01T07:30:06.000Z",
"status_history": [
{ "status": "queued", "at": "2026-12-01T07:30:00.000Z" },
{ "status": "sent", "at": "2026-12-01T07:30:02.000Z" },
{ "status": "delivered", "at": "2026-12-01T07:30:06.000Z" }
]
}2
3
4
5
6
7
8
9
10
11
12
Why a message wasn't delivered
A message that ended failed, expired, rejected or cancelled has a failure object with a code and plain words. It's null while the message may still be delivered, and once it is.
{
"status": "failed",
"failure": {
"code": "absent_subscriber",
"message": "Phone off or unreachable",
"refunded": false
},
"refunded": false
}2
3
4
5
6
7
8
9
failure.code | Status | What happened | Refunded? |
|---|---|---|---|
absent_subscriber | failed | The phone was off or unreachable until the network stopped trying | No |
unknown_subscriber | failed | The number doesn't exist | No |
inactive_subscriber | failed | The line is inactive or suspended | No |
promotions_blocked | failed | The person blocked promotional messages on their network | No |
not_delivered | failed | The network took it but didn't deliver it, and gave no reason | No |
rejected_by_network | failed | The network refused it when we handed it over | Yes |
provider_error | failed | SemaLink couldn't hand it to the network, even after retrying | Yes |
no_delivery_report | expired | No delivery report came back within 72 hours | No |
opted_out | rejected | The person opted out after you sent it, before it went | Yes |
contact_removed | rejected | The contact was removed, or the number changed, before it went | Yes |
cancelled | cancelled | It was cancelled before it went | Yes |
failure.refunded (and the message's own refunded) is true when the message never reached the network. Branch on the code, not the message: the words may change, the codes won't.
When you pay, and when you get it back
- When you send, the cost is set aside from your balance.
- When the network takes the message (
sent), the cost is charged. - If it never reaches the network (refused at hand-over, cancelled, or rejected because the person opted out meanwhile), the money comes back and
refundedistrue. - If the network takes it but can't deliver it (the phone was off for too long), it stays charged. Every SMS provider works this way: the network did the work.
- Numbers refused when you send are never charged: they never become messages.
See Pricing and billing for the full picture.
Statuses and webhooks
| Event | Sent when a message becomes |
|---|---|
message.held | held |
message.released | queued again, after review |
message.sent | sent |
message.delivered | delivered |
message.failed | failed |
Every event carries the whole message, so you don't need to fetch it again. There is no event for expired: to find expired messages, list them with status=expired. See Webhooks.
Statuses only move forward
A message never goes from delivered back to sent. Events can arrive out of order, though, so if you store the status, keep the one furthest along the path above rather than the last event you received.