Example of SMS Message request

JSON

{
  "phone_number": 380961111111,
  "extra_id": "AD-6640-7006",
  "callback_url": "https://send-dr-here.com",
  "start_time": "2020-12-12 10:10:10+03:00",
  "tag": "Campaign name",
  "channels": [
    "sms"
  ],
  "channel_options": {
    "sms": {
      "text": "Text for SMS",
      "alpha_name": "GMSU",
      "ttl": 300
    }
  }
}

XML

<?xml version="1.0" encoding="UTF-8" ?>
<message>
  <phone_number>380961111111</phone_number>
  <extra_id>AD-6640-7006</extra_id>
  <callback_url>https://send-dr-here.com</callback_url>
  <start_time>2020-12-12 10:10:10+03:00</start_time>
  <tag>Campaign name</tag>
  <channels>
    <channel>sms</channel>
  </channels>
  <channel_options>
    <sms>
      <text>Text for SMS</text>
      <alpha_name>GMSU</alpha_name>
      <ttl>300</ttl>
    </sms>
  </channel_options>
</message>