message details

API Docs by APIMATIC

Message Details

Fields

NameDescription
message_id Required
String

Unique identifier of the message generated by the platform

from Required
String

Sender ID used to send the message. Can be numeric or alphanumeric.

to Required
String

Destination phone number

message_body Required
tag
String

An optional field normally used to identify a group of messages, e.g. messages associated with a certain campaign. The parameter is returned for outbound messages only.

status Required
timestamp Required
String

Timestamp the messages is accepted by the platform

error_message Required
String

A human-readable error description, if any

charge Required
String

Total price of the message

segments Required
Number

Number of segments

submitted_at Required
DateTime

Timestamp the messages is accepted by the platform

sent_at Required
DateTime

Timestamp the messages is sent, for mobile terminated messages only. For mobile originated messages the parameter is not returned.

delivered_at Required
DateTime

Timestamp DLR is received for mobile terminated messages or timestamp the messages was successfully relayed to a webhook for mobile originated messages.

mcc Required
String

Mobile country code of the destination phone number. For outbound SMS and MMS messages only.

mnc Required
String

Mobile country network of the destination phone number. For outbound SMS and MMS messages only.

{
  "message_id": "871b4eeb-f798-4105-be23-32df9e991456",
  "from": null,
  "to": null,
  "message_body": null,
  "status": "accepted",
  "timestamp": null,
  "error_message": null,
  "charge": "0.01",
  "segments": 1,
  "submitted_at": "2022-04-14T13:51:16.096Z",
  "sent_at": "2022-04-14T13:51:16.096Z",
  "delivered_at": "2022-04-14T13:51:16.096Z",
  "mcc": "301",
  "mnc": "204"
}