//-- Intent: creates a new scheduled alert to send sms 660197 to contact list 668447 --// var jsonString = ' \ { \ "$type":"API.V4.DataWrappers.Schedule_Run_Once, API.V4", \ "IsActive":false, \ "ScheduleType":0, \ "TaskDateTime":"4/2/2015 12:00 PM", \ "TaskName":"My Scheduled Alert 2", \ "Description":"Example of a scheduled alert that will run on a specific date and time", \ "ContactLists":[668447], \ "VoiceCode":0, \ "FaxCode":0, \ "EmailCode":0, \ "SMSCode":660197, \ "PagerCode":0, \ "HotlinePhone":"", \ "HotlineSettings":null \ }'; $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Alerts/Schedules/Create", data: jsonString, dataType: "json" success: function(result) { // Do something with the result } }); <!-- example return value --> 123456