send message request body

API Docs by APIMATIC

Send Message Request Body

Fields

NameDescription
from Required
String

Sender ID registered on your account. Can be numeric or alphanumeric.

to Required
String

Destination phone number.

message_body Required
callback_url
String

Callback URL for delivery reports.

validity
Number

Validity period of the message, in seconds. The platform stops sending the message after the validity period expires.

external_id
String

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

{
  "from": "Wavix",
  "to": "447712345661",
  "message_body": {
    "text": "SMS message",
    "media": [
      "media URL"
    ]
  }
}