SMS final status
An SMS you sent through the SMS API v6 (/) reached its final status: delivered, failed or blocked. It reaches you as the sms. event, one per message, or in batches of up to 500 if you choose so.
4 min read
When it arrives
Once per message, when an SMS you sent through the SMS API v6 reaches its final status. A long SMS, which travels in several parts, brings a single notification once all of its parts are done. The type is always sms., with no variable part. It does not come for a message that the day closing, at 00:20 (Colombia time) on the fourth day after it was received, leaves in its final status without any of its parts having failed: the one the carrier received without confirming the phone (delivered_to_carrier) and the one that did not go out or the carrier did not accept within those 3 days (failed). The message query gives that status.
Only for API messages
It only arrives for messages you send through the SMS API v6; the ones sent through v5 or over SMPP do not bring it. Over SMPP, the final status reaches you in the delivery receipt on your connection, one per part.
Who receives it
It is received by an endpoint of your organization that names sms., or by one registered to receive every SMS event of your organization. If the endpoint names sms., it receives it in batches of up to 500 notifications per request, and not one by one. No endpoint of another organization receives it. If you have no endpoint that receives it, the notification is discarded: it is not stored or delivered later.
To register your endpoint, follow Set up webhooks.
What it contains
| Field | Type | What it is | Example |
|---|---|---|---|
id | string | Message identifier, with dashes. If you sent it on its own (/ or /), it is the one the API returned. In a bulk send the response only brings the batchId: to recognize each message, use batchId and clientRef. Without dashes and followed by :, it is the event id. | 019a4f2c-6d3e-7a81-b9c4-2e5f6a7b8c9d |
status | string | How the message ended. delivered: the carrier confirmed it reached the phone, which does not guarantee the person read it. failed: it did not arrive. blocked: Hablame did not send it because a sending rule stopped it. | failed |
cause | string, optional | Why it ended that way, as a short code for your logs and for your support case. A delivered message does not bring it. What each value means is in the causes table. | carrier_undeliv |
batchId | string, optional | The bulk send the message belongs to: bat_ followed by 32 hexadecimal characters. It only comes with messages from a bulk send. | bat_6f1d2c9e8b7a4f3e9d2c1b0a5e4f3d2c |
clientRef | string, optional | The reference you gave the message when you sent it, unchanged. It only comes if you gave one. In a bulk send, give one to each recipient: it is the only way to know which of your messages the notification belongs to. | pedido-48213 |
segments | integer | How many parts the message traveled in. A short SMS is a single one; a long one, several. It is always 1 or more. | 2 |
deliveredSegments | integer | How many of those parts the carrier confirmed as delivered, from 0 to segments. A failed message may have some delivered. | 1 |
receivedAt | string | When Hablame received the message, in Colombia time with milliseconds (RFC 3339). | 2026-11-04T09: |
finalAt | string | When it reached its final status, in Colombia time with milliseconds (RFC 3339). | 2026-11-04T09: |
{
"id": "019a4f2c6d3e7a81b9c42e5f6a7b8c9d:final",
"type": "sms.final_status",
"data": {
"id": "019a4f2c-6d3e-7a81-b9c4-2e5f6a7b8c9d",
"status": "failed",
"cause": "carrier_undeliv",
"batchId": "bat_6f1d2c9e8b7a4f3e9d2c1b0a5e4f3d2c",
"clientRef": "pedido-48213",
"segments": 2,
"deliveredSegments": 1,
"receivedAt": "2026-11-04T09:15:02.481-05:00",
"finalAt": "2026-11-04T09:15:09.112-05:00"
}
}The causes
The values Hablame produces today for cause in a message that was not delivered; some, as noted, do not arrive in a message from the API. Those starting with hablame_ are Hablame failures; those starting with carrier_, what the destination carrier answered. Store the value as it is: if one appears that is not in this table, treat it as a failure without detail.
| Value | What it means |
|---|---|
no_digits | The destination number has no digits at all, so the message was not sent. Check the number you sent. A message from the API v6 does not bring it: a number without digits is rejected earlier, when you send it. |
no_lookup | The carrier of the destination number could not be identified, so the message was not sent. Check that the number is complete and exists. |
no_tariff | There is no rate for that destination in the currency of your account, so the message was not sent. A number from another country written with + or 00 is rejected earlier, when you send it, and does not arrive with this cause. |
incomplete | A long SMS reached Hablame already split and not all of its parts arrived in time, so it was not sent. It only happens with messages that arrive split, such as over SMPP: a message from the API v6 does not bring it. |
carrier_part_limit | The message has more parts than the destination carrier accepts, so it was not sent. Make it shorter. |
hablame_sender_undecided | Hablame had not settled the sender the message had to go out with, and did not send it. It is a Hablame failure: if it happens again, write to support with the message id. |
hablame_concatenation_reference | Hablame could not prepare the parts of the long SMS for the sender it goes out with, and did not send it. It is a Hablame failure: if it happens again, write to support with the message id. |
hablame_missing_octets | Hablame was missing the original content of a part of the message, and did not send it. It is a Hablame failure: if it happens again, write to support with the message id. It only happens with parts that arrive over SMPP: a message from the API v6 does not bring it. |
hablame_does_not_fit_with_header | A part of the long SMS no longer fit in one SMS with the data that joins it to the other parts, in the form the destination carrier asks for, and it was not sent. It is a Hablame failure: if it happens again, write to support with the message id. It only happens with parts that arrive over SMPP: a message from the API v6 does not bring it. |
hablame_invalid_pdu | Hablame could not build the message in the carrier format because one of its data does not fit in it, and did not send it. It is a Hablame failure: if it happens again, write to support with the message id. |
expired | The message could not go out to the carrier within its deadline, which runs until 23:59 (Colombia time) on the third day after it was received, and it is no longer sent. It happens when the destination carrier was down or the send waited too long. |
carrier_rejected_0x<code> | The destination carrier rejected the message when Hablame sent it. After 0x comes the carrier code, in 8 hexadecimal digits: give it to support if you want to know more. |
carrier_undeliv | The carrier received the message, but reported that it could not deliver it to the phone. |
carrier_expired | The carrier could not deliver it before its deadline ran out. It usually happens with a phone that is off or without signal for a long time. |
carrier_deleted | The carrier deleted the message before delivering it. |
carrier_rejectd | The carrier accepted the message and then rejected it, without delivering it. |
carrier_unknown | The carrier reported that it was not delivered, with a status that does not say why. |
The full notification
POST /webhooks/hablame HTTP/1.1
Host: tu-dominio.com
Content-Type: application/json
User-Agent: Hablame-Webhooks/1
X-Hablame-Event-Type: sms.final_status
X-Hablame-Delivery-Id: wdl_01K97Y3M5Q8R2T6V9W4X1Z0ABC
X-Hablame-Timestamp: 1793801710
X-Hablame-Signature: sha256=77bcb2cf0a1823b7250f2b3c06ef609665ea9082f4ba699a7e124e002fc15708
Idempotency-Key: wdl_01K97Y3M5Q8R2T6V9W4X1Z0ABC
{"id":"019a4f2c6d3e7a81b9c42e5f6a7b8c9d:final","type":"sms.final_status","data":{"id":"019a4f2c-6d3e-7a81-b9c4-2e5f6a7b8c9d","status":"failed","cause":"carrier_undeliv","batchId":"bat_6f1d2c9e8b7a4f3e9d2c1b0a5e4f3d2c","clientRef":"pedido-48213","segments":2,"deliveredSegments":1,"receivedAt":"2026-11-04T09:15:02.481-05:00","finalAt":"2026-11-04T09:15:09.112-05:00"}}Duplicates and several endpoints
- The same notification can arrive more than once with the same
X-Hablame-Delivery-Id. Drop it if you already have it. - If several of your endpoints receive it, each one carries its own
X-Hablame-Delivery-Id, but the eventidis the same for all of them. If those endpoints write to the same database, use theidto avoid storing the same status twice.
Receive them in batches
If you send many messages, you can receive their final statuses in batches: name sms. when you register your endpoint. That endpoint receives up to 500 notifications in a single request, and stops receiving them one by one even if it also names sms. or receives every SMS event. Your other endpoints do not change.
- The batch carries
typeequal tosms., its ownfinal_status. batch id(it starts withfsb_) and, indata., the notifications: each one with the sameevents id,typeanddatait would have if it arrived alone.data.says how many there are.count - The headers and the signature are the usual ones, computed over the whole batch body.
X-Hablame-Event-Typecarries the batch type. - Respond 2xx once you have stored the whole batch. If you respond anything else, the whole batch is sent again.
- The same notification can arrive in two different batches. Use the
idof each notification, not the batch one, to avoid storing it twice.
{
"id": "fsb_3c9a1e7d5b2f4a6c8e0d1b3f5a7c9e2d",
"type": "sms.final_status.batch",
"data": {
"count": 2,
"events": [
{
"id": "019a4f2c6d3e7a81b9c42e5f6a7b8c9d:final",
"type": "sms.final_status",
"data": {
"id": "019a4f2c-6d3e-7a81-b9c4-2e5f6a7b8c9d",
"status": "failed",
"cause": "carrier_undeliv",
"batchId": "bat_6f1d2c9e8b7a4f3e9d2c1b0a5e4f3d2c",
"clientRef": "pedido-48213",
"segments": 2,
"deliveredSegments": 1,
"receivedAt": "2026-11-04T09:15:02.481-05:00",
"finalAt": "2026-11-04T09:15:09.112-05:00"
}
},
{
"id": "019a4f2c71aa7c028d154b6e7f8091a2:final",
"type": "sms.final_status",
"data": {
"id": "019a4f2c-71aa-7c02-8d15-4b6e7f8091a2",
"status": "delivered",
"batchId": "bat_6f1d2c9e8b7a4f3e9d2c1b0a5e4f3d2c",
"clientRef": "pedido-48214",
"segments": 1,
"deliveredSegments": 1,
"receivedAt": "2026-11-04T09:15:02.507-05:00",
"finalAt": "2026-11-04T09:15:05.334-05:00"
}
}
]
}
}Query the message
The query can take a few seconds
After you receive the notification, the message query (GET /) can take a few seconds to show it: it may answer 202 with status: (it is still being recorded) or bring it still without its final status. It does not mean the notification is wrong. Wait a few seconds and query again with the same id.
With the API v6, the message query (GET /) brings a delivery block inside data with the three outside steps: when Hablame accepted it, when the carrier accepted it and when it was delivered, plus how many parts the carrier accepted and delivered.
- It only comes once it has been decided how the message goes out or once it has a final status. If it does not come, the query only gives the status of the message at Hablame.
- A step that has not happened yet does not come: an invented time never arrives. Read them by name and do not reject the response because one is missing.
- If it cannot be read for a moment, the response arrives without
delivery. Query again later.
| Field | Type | What it is |
|---|---|---|
acceptedByHablameAt | string | When Hablame received the message, in Colombia time with milliseconds (RFC 3339). It always comes. |
acceptedByCarrierAt | string, optional | When the destination carrier accepted the first of its parts, in Colombia time. It does not come while the carrier has accepted none. |
deliveredAt | string, optional | When the carrier confirmed the delivery of the last of its delivered parts, in Colombia time. It can come in a failed message if some part did arrive: to know whether it arrived whole, check finalStatus. |
finalStatus | string, optional | How the message ended. It does not come while it has no final status. What each value means is in the table below. |
finalCause | string, optional | Why it ended that way, with the same values as cause in the sms. notification. A delivered message or one in quarantined does not bring it. |
parts | integer | How many parts the message travels in. It always comes. |
acceptedParts | integer | How many distinct parts the carrier accepted, from 0 to parts. It always comes. |
deliveredParts | integer, optional | How many distinct parts the carrier confirmed as delivered, from 0 to parts. It comes when the carrier closed the message with its delivery receipts. It does not come in a failure Hablame decides before sending it (for example carrier_part_limit or no_lookup) nor in quarantined. |
| Value | What it means |
|---|---|
delivered | The carrier confirmed that all of its parts reached the phone. It does not guarantee the person read it. |
failed | It did not arrive. finalCause says why. If the day closing left it that way, at 00:20 (Colombia time) on the fourth day after it was received, because it did not go out or the carrier did not accept it within those 3 days, it does not bring an sms. notification. |
blocked | Hablame did not send it because a sending rule stopped it. |
quarantined | The carrier rejected it with a reason Hablame is reviewing. It has not been delivered yet and it may change: query again later. |
delivered_to_carrier | The carrier received all of its parts, but did not confirm within the next 3 days that they reached the phone: it may have arrived, and there is no way to know. The day closing sets it, at 00:20 (Colombia time) on the fourth day after it was received, and it does not bring an sms. notification: query it. |
{
"delivery": {
"acceptedByHablameAt": "2026-11-04T10:00:00.000-05:00",
"acceptedByCarrierAt": "2026-11-04T10:00:01.250-05:00",
"deliveredAt": "2026-11-04T10:00:07.900-05:00",
"finalStatus": "delivered",
"parts": 1,
"acceptedParts": 1,
"deliveredParts": 1
}
}{
"delivery": {
"acceptedByHablameAt": "2026-11-04T10:05:00.000-05:00",
"acceptedByCarrierAt": "2026-11-04T10:05:01.040-05:00",
"deliveredAt": "2026-11-04T10:05:06.310-05:00",
"finalStatus": "failed",
"finalCause": "carrier_undeliv",
"parts": 3,
"acceptedParts": 3,
"deliveredParts": 2
}
}{
"delivery": {
"acceptedByHablameAt": "2026-11-04T10:10:00.000-05:00",
"finalStatus": "failed",
"finalCause": "carrier_part_limit",
"parts": 7,
"acceptedParts": 0
}
}Keep in mind
- One arrives per message and never one per part. If the same notification arrives more than once, it carries the same
X-Hablame-Delivery-Id. - A message that has not finished yet brings no notification: if the carrier never confirms a part, the notification can be late or never arrive.
- Optional fields are left out when they have no value. Read them by name and do not reject a notification because one of them is missing.