Name
Get a message timeline
What happened to a message, step by step: when Hablame received it, each send to the carrier with its answer and each delivery receipt.
HTTP method and path
/ api/ v6/ sms/ messages/ {id}/ timelinehttps:
What happens when you run it
- Read only: it does not change your organization’s data.
- The call is not charged.
What it does
Returns, in order, what happened to a message of your organization: when Hablame received it, when it was ready to go out, each time one of its parts was sent to the carrier with what the carrier answered, and the delivery receipts that arrived. If a sending rule stopped it, or it could not go out, it says so too. It does not bring the text or the number. It works for what you sent through the API, through Cloud or over SMPP.
You only see the messages of your organization. The id can be the one of any of its parts, as in GET /, and the response brings the message’s one. A message from another organization answers 404, just like one that does not exist.
The events
Each event brings its type and its time (en). The ones of a part also bring part (from 1) and, the sends and their answers, attempt (1 the first). They come in time order, from the first to the last.
| Value | What it means |
|---|---|
received | Hablame received the message. It is always the first one. |
routed | The message was ready to go out to the destination carrier. |
blocked | A sending rule stopped it and it did not go out (for example the marketing time window or the do-not-contact registry). cause says which one. |
not_sent | It could not go out to the carrier because of a Hablame problem or because it has more parts than the carrier accepts. It comes only once, with its cause. |
sent | A part went out to the carrier. part says which one and attempt which attempt it was. It only brings result if the carrier did not answer (no_response) or the connection dropped (no_connection); if it answered, what it said comes in its response. |
response | What the carrier answered to that send, with the same part and the same attempt. Accepting it is not a delivery: the delivery is given by the receipt. |
receipt | The carrier notice about how a part ended on the phone (for example delivered or expired). |
| Value | What it means |
|---|---|
accepted | The carrier accepted it for delivery. |
rejected | The carrier did not take it this time, for a passing reason: Hablame may try again. |
permanently_rejected | The carrier rejected it and there is no point in trying again. |
no_connection | The connection with the carrier dropped before its answer: Hablame may try again. |
no_response | The carrier did not answer in time. |
| Value | What it means |
|---|---|
delivered | The part reached the phone. |
expired | The carrier stopped trying to deliver it (for example, the phone was off for too long). |
deleted | The carrier deleted it without delivering it. |
undeliverable | It could not be delivered. |
rejected | The carrier rejected it. |
accepted | The carrier accepted it, without saying whether it reached the phone. |
unknown | The carrier does not know how it ended. |
enroute | An intermediate notice: the carrier has it on its way. It is not the final outcome. |
other | A notice the carrier did not classify. |
The cause of blocked and not_sent, and finalCause, use the cause values of the sms. notification, where what each one means is explained.
Availability and prerequisites
- Published and available in the production API v6.
- Every path starts at
https:./ / developers. hablame. co - You need a Hablame API key to call it.
Authentication and permissions
- Send your API key in the
Authorizationheader with the Bearer scheme.
Who can call it: An API key with the sms service enabled.
Limits and operational notes
Usage limit: 50 requests per second.
- The message query, the message list and the message timeline share this quota: 50 requests per second among the three.
Path parameters
| Name | Type | Description and rules |
|---|---|---|
idRequired | string | The Example: |
Query parameters
This endpoint has no query parameters.
HTTP headers
| Name | Type | Description and rules |
|---|---|---|
AuthorizationRequired | string | Your API key with the Bearer scheme. Example: |
Request body
This endpoint takes no request body.
Successful responses
200
The message timeline.
{
"success": true,
"data": {
"id": "0192f0c4-7a1b-7c3d-8e9f-001122334455",
"parts": 1,
"finalStatus": "delivered",
"events": [
{ "type": "received", "at": "2026-11-04T10:00:00.000-05:00" },
{ "type": "routed", "at": "2026-11-04T10:00:00.040-05:00" },
{ "type": "sent", "at": "2026-11-04T10:00:00.120-05:00", "part": 1, "attempt": 1 },
{ "type": "response", "at": "2026-11-04T10:00:00.310-05:00", "part": 1, "attempt": 1, "result": "rejected" },
{ "type": "sent", "at": "2026-11-04T10:00:01.100-05:00", "part": 1, "attempt": 2 },
{ "type": "response", "at": "2026-11-04T10:00:01.250-05:00", "part": 1, "attempt": 2, "result": "accepted" },
{ "type": "receipt", "at": "2026-11-04T10:00:07.900-05:00", "part": 1, "result": "delivered" }
]
},
"meta": {
"requestId": "5d0f3a9c7b2e41a8",
"clientIp": "203.0.113.10",
"timestamp": "2026-10-26T10:30:00-05:00",
"responseTimeMs": 8.2
}
}The example values are illustrative.
Response fields
| Name | Type | Description and rules |
|---|---|---|
successAlways present | boolean | |
dataAlways present | object | The history of a message of your organization, event by event. It never brings the text or the number. |
data.Always present | string | Message identifier, even if you searched with the one of another of its parts. Example: |
data.Always present | integer | How many parts the message travels in. Example: |
data. | string | How it ended, with the values of Allowed values: |
data. | string | Why it ended that way, with the same values as |
data. | boolean |
|
data.Always present | array<object> | What happened to the message, in time order. It can come empty. |
data.Always present | string | What happened. What each value means is in the events table. Allowed values: |
data.Always present | string | When it happened, in Colombia time and with milliseconds (RFC 3339, with Format: |
data. | integer | The part, from 1. Only in Example: |
data. | integer | Which time that part was sent (1 the first). Only in Example: |
data. | string | In Allowed values: |
data. | string | In |
metaAlways present | object | Response metadata. |
meta.Always present | string | Unique request identifier (16 hexadecimal characters). It matches the Example: |
meta.Always present | string | IP the API saw your request come from. Useful if your API key only accepts certain networks. Example: |
meta.Always present | string | Date and time the response was built (ISO 8601 with offset). Format: |
meta.Always present | number | Time (ms) the server took to process the request. Example: |
202
That id does not show up yet, but it is newer than completeThrough: the message may still be being recorded. Do not send it again: query again after Retry-After seconds.
{
"success": true,
"data": {
"id": "0192f0c4-7a1b-7c3d-8e9f-001122334455",
"status": "in_progress",
"completeThrough": "2026-11-04T09:59:58.500-05:00",
"ingestLagSeconds": 4
},
"meta": {
"requestId": "5d0f3a9c7b2e41a8",
"clientIp": "203.0.113.10",
"timestamp": "2026-10-26T10:30:00-05:00",
"responseTimeMs": 8.2
}
}The example values are illustrative.
Response fields
| Name | Type | Description and rules |
|---|---|---|
successAlways present | boolean | |
dataAlways present | object | A message that does not show up in the query yet but is newer than |
data.Always present | string | The Example: |
data.Always present | string | Always Fixed value: |
data.Always present | string | Up to when the data is complete (in Colombia time): every message you sent one by one before this time is already in the query. What came after may still be missing. It does not cover the messages of a bulk send while it is being split among its destinations (its progress is in Format: |
data.Always present | integer | How many seconds there are from Example: |
metaAlways present | object | Response metadata. |
meta.Always present | string | Unique request identifier (16 hexadecimal characters). It matches the Example: |
meta.Always present | string | IP the API saw your request come from. Useful if your API key only accepts certain networks. Example: |
meta.Always present | string | Date and time the response was built (ISO 8601 with offset). Format: |
meta.Always present | number | Time (ms) the server took to process the request. Example: |
Error codes
Every error response has the same shape: success set to false and an error object whose code says what happened. They are grouped here by kind, with the codes this endpoint can return.
Shape of an error response
| Name | Type | Description and rules |
|---|---|---|
successAlways present | boolean | Fixed value: |
metaAlways present | object | Response metadata. |
meta.Always present | string | Unique request identifier (16 hexadecimal characters). It matches the Example: |
meta.Always present | string | IP the API saw your request come from. Useful if your API key only accepts certain networks. Example: |
meta.Always present | string | Date and time the response was built (ISO 8601 with offset). Format: |
meta.Always present | number | Time (ms) the server took to process the request. Example: |
errorAlways present | object | |
error.Always present | string | Stable UPPER_SNAKE_CASE identifier. Clients branch on this value. Example: |
error. | integer | Legacy v5 numeric code, only when a bridge exists. Omitted for codes born in v6. Example: |
error.Always present | string | URL to the error documentation. Format: |
error.Always present | string | Human readable text, in English. It is for the developer log, not the end user: do not parse it. |
error.Always present | array<object> | Structured context (validation issues, affected resource). Empty array when there is no extra context. |
Validation
This endpoint does not declare responses of this kind.
Authentication
- 401Invalid or missing credentials.
No Bearer token was sent, and every call requires one.
Message the API returns: Authentication is required. Send your API key as `Authorization: Bearer <token>`.
The API key is not recognized: wrong format, revoked or expired.
Message the API returns: The provided API key is invalid or has expired. Please verify the value sent in the `Authorization: Bearer` header.
Permissions
- 403The API key does not have the SMS service (
sms), the key cannot be used from the request network, the organization is not active (ACCOUNT_NOT_ACTIVE: closed or blocked) or the querying account could not be identified (SMS_ACCOUNT_NOT_IDENTIFIED). A suspended organization, or one with SMS turned off, can query: it does not get this403.
The key is not allowed to use the service behind this endpoint.
Message the API returns: This API key is not authorized to use the requested service.
The key only works from certain networks and your IP is not one of them.
Message the API returns: This API key cannot be used from this IP address. The address we saw is in `meta.clientIp`: call from one of the networks allowed for the key, or use a key that allows this one.
Your organization is suspended or closed.
Message the API returns: The organization associated with this API key is not active. Please contact support.
The send’s account could not be identified.
Usage limits
- 429Request limit exceeded (
RATE_TPS_EXCEEDED): the quota is the same as the message query.
You exceeded your organization quota for this endpoint.
Message the API returns: You have exceeded the allowed request rate for this endpoint. Please wait before retrying.
Resource not found
- 404There is no message of your organization with that
idyet (SMS_MESSAGE_NOT_FOUND). It is final only if a recent query answer (the message list, or the202of this sameid) broughtcompleteThroughand you sent the message before that time. IfcompleteThroughdid not come, or the message is from after it, wait a few seconds and query again: a just-accepted one may not show up yet. Do not send it again. - 410The message is from a day older than your message history (
SMS_OUTSIDE_HISTORY_WINDOW, with the oldest day you can query indetails[0].), or its day already moved to the archive and could not be read here (oldestDay SMS_MESSAGE_ARCHIVED; anyidof that day gets the same).
There is no message with that
id(yet).What you asked for is older than your message history.
The message is from an archived day that could not be read here.
Internal errors and availability
- 503It could not be queried right now (
SERVICE_UNAVAILABLE). Nothing changed in your sends: retry the same query afterRetry-After.
Generic 503: a service we depend on is not responding.
Other responses
This endpoint does not declare responses of this kind.
Special considerations
The history grows over time
A just-accepted message takes a few seconds to appear: meanwhile the query answers 202 with status: and Retry-After, which does not mean it was not sent. And receipts can arrive minutes or hours after the send: if it has no finalStatus yet, query again later.
Your message history
You query free of charge the messages from the last 3 months, date to date (89 to 92 days depending on the month); if your organization extended its message history in Hablame Storage, all the ones in that history. A history change applies at once. Anything from an earlier day answers 410 SMS_OUTSIDE_HISTORY_WINDOW, with the oldest day you can query in details[0].: it does not mean the message does not exist. The messages of a day that already moved to the archive, inside your history, come with archived:; if they cannot be read at that moment, the query by id answers 410 SMS_MESSAGE_ARCHIVED.
It also answers with the organization suspended
If your organization is suspended, or has SMS turned off, queries keep working with your key: you can see your messages, your bulk sends and what people wrote to you. What you cannot do is send: the three sends answer 403 (ACCOUNT_NOT_ACTIVE with the organization suspended, AUTH_SERVICE_NOT_ALLOWED with SMS turned off).