Portal
Messaging Workflows

Track Messages

Query the latest known state of one SMS order.

Overview

Use Track Messages to read the current state of a message order after Send SMS or Bulk Messaging creates it.

Endpoint

GET /api/v1/sms/orders/{order_id}

Authentication: Bearer access token.

Before You Begin

You need the order_id returned by FutureSMS. If your application uses a client reference, store the returned order_id with that reference.

Request fields

Path parameters:

NameRequiredExample
order_idYesSDPS2603251030120000356

Response fields

FieldMeaning
order_idFutureSMS business order identifier.
client_order_idMerchant-side reference, when provided.
order_statusOrder processing and billing state.
message_statusNormalized delivery state, or null while not available.
phone_numberDestination number in E.164 format.
sender_valueSender display value used for the message.
contentRendered SMS content.
merchant_price_usdMerchant price as a decimal string.
dlr_addressCallback URL used for this order, when available.
dlr_availableWhether delivery report information is available.
created_atUTC creation time.
updated_atUTC update time.

Behavior

Order state and delivery state are separate. A message can be accepted for processing before final delivery information is available.

Status codes

StatusMeaning
200Order was found and returned.
401Missing, invalid, or expired access token.
403Authenticated caller is not allowed to view this order.
404Order was not found or is not visible to the caller.
422Path parameter validation failed.

Examples

Delivered order
{
  "message": "OK",
  "details": null,
  "data": {
    "order_id": "SDPS260325103012A1B2C3D",
    "client_order_id": "client-ord-20260325-0001",
    "order_status": "charged",
    "message_status": "DELIVRD",
    "phone_number": "+639171234567",
    "sender_value": "testsms",
    "content": "Welcome to FutureSMS, Alice",
    "merchant_price_usd": "0.000000",
    "dlr_address": "https://merchant-a.example.com/dlr",
    "dlr_available": true,
    "created_at": "2026-03-25T10:30:12Z",
    "updated_at": "2026-03-25T10:31:48Z"
  },
  "meta": null
}