send message response

API Docs by APIMATIC

Send Message Response

Fields

NameDescription
message_id Required
String

Unique identifier of the message generated by the platform

message_type Required
String

Type of the message sent or received. Can be either sms or mms

from Required
String

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

to Required
String

Destination phone number

mcc Required
String

Mobile country code of the destination phone number.

mnc Required
String

Mobile network code of the destination phone number.

message_body Required
tag Required
String

An optional field normally used to identify a group of SMS, e.g. messages associated with a certain campaign.

status Required
segments Required
Number

Number of message segments, for SMS only. For MMS messages segments is always 1.

charge Required
String

Total price of the message

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.

error_message Required
String

A human-readable error description, if any

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