Reference
Response fields, identifiers & time
Read SendSMS responses correctly and correlate them with your operations.
#Steps
- Your system supplies request parameters. SendSMS generates response fields from stored data, platform calculations or operator transport results. Every field describes its source.
- Save messageId from admission acknowledgement. It is the SendSMS ID, not an operator ID. You supply Idempotency-Key for a logical operation; it is neither an API credential nor messageId. The SendSMS database generates template, sender and credit-row IDs; the platform assigns version numbers.
- Response timestamps use ISO 8601 with a time zone, normally UTC with Z, for example 2026-10-29T00:00:00.000Z. Your device time zone changes display, not the instant. These are not Unix timestamps. The YYYY-MM billing period uses the separately configured billing time zone.
- created_at/createdAt records row creation; updated_at/updatedAt records the latest row change. Neither substitutes for send/delivery time. asOf is the balance SQL snapshot time; next_attempt_at is a planned retry, not a delivery promise. Each field table explains the event.
- An absent optional field, null, 0, false and an empty array differ. Do not convert null into zero. found=false omits the message object; it is not a failed-delivery result.
- Money uses exact decimal strings, not binary floats. currency specifies its unit; SMS credits and SMS segments are separate units. Do not combine different currencies or credit scopes into a universally spendable balance.
- The HTTP code, message status and attempt status describe different layers. 202 acknowledges admission, not delivery. HTTP 200 for a batch does not guarantee every item succeeded: inspect results[].status and body.
- On errors, inspect HTTP status and Content-Type before parsing JSON: a gateway/network may return text or HTML. error may be a stable identifier or legacy prose. Do not repeat an uncertain send with a new key. Honor Retry-After in seconds when present. An invalid recipient number is refused with 400 invalid_number before any message is created, including for a single batch item.
#Keep in mind
Fields and known values describe the published version. Preserve unknown future values without guessing their meaning. An update time or queue size does not prove delivery.