Push+Viber+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": [
    "push",
    "viber",
    "sms"
  ],
  "channel_options": {
    "push": {
      "text": "Text for Push",
      "ttl": 60,
      "title": "Title for Push",
      "img": "https://example.com/image.png",
      "caption": "Click the button",
      "action": "https://example.com"
    },
    "viber": {
      "text": "Text for Viber",
      "ttl": 60,
      "device": "phone",
      "img": "https://example.com/image.png",
      "caption": "Click the button",
      "action": "https://example.com"
    },
    "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>push</channel>
    <channel>viber</channel>
    <channel>sms</channel>
  </channels>
  <channel_options>
    <push>
      <text>Text for Push</text>
      <ttl>60</ttl>
      <title>Title for Push</title>
      <img>https://example.com/image.png</img>
      <caption>Click the button</caption>
      <action>https://example.com</action>
    </push>
    <viber>
      <text>Text for Viber</text>
      <ttl>60</ttl>
      <device>phone</device>
      <img>https://example.com/image.png</img>
      <caption>Click the button</caption>
      <action>https://example.com</action>
    </viber>
    <sms>
      <text>Text for SMS</text>
      <alpha_name>GMSU</alpha_name>
      <ttl>300</ttl>
    </sms>
  </channel_options>
</message>