Send personalised SMS and TTS voice alert to a saved contact group

Send a personalised SMS and voice message using TTS, to a contact group. Specify client ref, contact group, alert type, contact set, content, sender (sender id modification), lookups and short link URL.

{
  "version" : "latest",
  "apiKey" : "abcdefghijklmnopqrstuvwxyz", 
  "clientRef" : "my-reference",
  "options": {
    "notification" : "poll",
    "notificationType" : "json"
  },
  "contactGroup" : {
    "storedContactGroup" : "e42b1fd0-70fc-4697-b646-9f0fab7306d0"
  },
  "alert" : [ 
    {
        "alertType" : "sms",
        "tag" : "tag1",
        "contactSets" : [ "all" ],
        "content" : "A message for {firstname} {lastname}. Click {shortlink} to let us know you've seen this.",
        "contentEncoding" : "utf8",
        "sender" : "My Company",
        "lookups": { 
            "performLookups": true, 
            "uniqueLookups": true, 
            "shortlink": { 
                "reference": "a-reference", 
                "url": "https://my-companies-url.com/alertinghub-click-through"
            }
        }
    },
    {
        "alertType": "call",
        "sender": "+447777100100",
        "contactSets" : [ "management" ],
        "tag": "t1",
        "voiceFormat": "tts",
        "content": "Hello, this is a message for {firstname} {lastname}. Please press any key and then hangup. Thank you.",
        "contentEncoding": "utf8",
        "ivrControl": 
            "ivrRequireResponse": true,
            "ivrAttempts" : 3
        },
        "lookups": { 
            "performLookups": true, 
            "uniqueLookups": true
        }
    }
  ]
}