Check a message
GET https://api.telrioz.com/api/v1/messages/{id}
The Delivery state of one message and of each of its parts. A message is accepted until every part has an answer from upstream, sent once every part is sent or final, and final once every part is: then its status is the first part that was not delivered, else delivered.
Authentication
Send your key in the header Authorization: Bearer YOUR_API_KEY. See Authentication.
| Name | Type | Description |
|---|---|---|
idrequired | string (in the path) | The message ID from accepted[].id (or rejected[].id). |
Limits
- 10 requests a second per account, counted over all its keys.
See Limits.
Responses
200
The message.
Fields of the 200 answer Name Type Description idrequiredstringThe message ID.
torequiredstringThe number it went to.
segmentsrequiredintegerHow many parts it has.
statusrequiredstringIts Delivery state. Never retrying: a message with a retrying part is accepted. One of: accepted, sent, delivered, rejected, undelivered, expired, deleted, unknown, not_sent, upstream_rejected.
permanentrequiredboolean or nullFor a failed message, whether sending it again would fail the same way: true means it will, false that it may succeed, null that we cannot tell (or it has not failed). Trust it over your own reading of the error code.
partsrequiredobject[]Each part that has reached an upstream, in order. Until then a part is not listed.
parts[].seqrequiredintegerThe part number, from 1.
parts[].idrequiredstringThe part's own ID.
parts[].statusrequiredstringThe part's Delivery state. One of: accepted, retrying, sent, delivered, rejected, undelivered, expired, deleted, unknown, not_sent, upstream_rejected.
parts[].errorrequiredstring or nullThe error code from the receipt, or the upstream's answer when it refused the part; null when there is none. A delivered part may carry the receipt's own value, such as 000. The Errors page lists every code.
parts[].permanentrequiredboolean or nullFor a failed message, whether sending it again would fail the same way: true means it will, false that it may succeed, null that we cannot tell (or it has not failed). Trust it over your own reading of the error code.
created_atrequiredstringWhen Telrioz took it (ISO 8601, UTC).
delivered: Delivered { "id": "c2b1f5e0-3a7e-4b8f-9d2c-1f0e6a5b4c3d", "to": "6281234567890", "segments": 1, "status": "delivered", "permanent": null, "parts": [ { "seq": 1, "id": "8f3c2a1e-6b7d-4e9f-a0b1-2c3d4e5f6a7b", "status": "delivered", "error": null, "permanent": null } ], "created_at": "2026-11-15T03:24:10.512Z" }refused: Refused by the upstream { "id": "c2b1f5e0-3a7e-4b8f-9d2c-1f0e6a5b4c3d", "to": "6281234567890", "segments": 1, "status": "upstream_rejected", "permanent": true, "parts": [ { "seq": 1, "id": "8f3c2a1e-6b7d-4e9f-a0b1-2c3d4e5f6a7b", "status": "upstream_rejected", "error": "ESME_RINVDSTADR", "permanent": true } ], "created_at": "2026-11-15T03:24:10.512Z" }401
unauthorized: No Bearer key, or a key we do not know. Send the header Authorization: Bearer <key> with a key from Developers โ Credentials.key_disabled: The key is switched off. Switch the key on in Developers โ Credentials, or use another key.key_expired: The key is past its last day (WIB). Make a new key, or ask your admin to move the key's expiry date.Error codes:
unauthorized,key_disabled,key_expiredunauthorized: No Bearer key, or a key we do not know. { "error": "unauthorized" }key_disabled: The key is switched off. { "error": "key_disabled", "message": "This key is disabled" }key_expired: The key is past its last day (WIB). { "error": "key_expired", "message": "This key expired after 2026-10-31" }403
ip_not_allowed: The request is not from one of the key's allowed IPs. Ask your admin to add this IP to the key's Allowed IPs, or remove the limit.not_active: The account is not active yet. Sign in to the portal and set your password, and finish what the welcome email asks (verify your WhatsApp number, or top up), then try again.suspended: The account is suspended. Contact Telrioz support.Error codes:
ip_not_allowed,not_active,suspendedip_not_allowed: The request is not from one of the key's allowed IPs. { "error": "ip_not_allowed", "message": "Requests from 203.0.113.7 are not allowed with this key" }not_active: The account is not active yet. { "error": "not_active" }suspended: The account is suspended. { "error": "suspended" }404
not_found: No such id on this account, or no such path under /api/v1. Check the path, and that the id is the one the send call returned and the key belongs to the same account.Error codes:
not_foundnot_found: No such id on this account, or no such path under /api/v1. { "error": "not_found" }429
The limit is 10 requests per second per account, counted over all its keys.
rate_limited: More than 10 requests a second on this account. Wait a second and send again; space calls out, or send many numbers in one call.Error codes:
rate_limitedrate_limited: More than 10 requests a second on this account. { "error": "rate_limited" }500
internal: Something failed on our side. Try again; if it keeps happening, contact Telrioz support.Error codes:
internalinternal: Something failed on our side. { "error": "internal" }