//-- Intent: parses the text content and returns a VOICE_ALERT_CONTENT object --// var jsonString = "This is my message."; $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Messages/Voice/Helpers/TextToVoiceContentObject/alert_human/true", data: jsonString, dataType: "json" success: function(result) { // Do something with the result } }); <!-- example return value --> { "VoiceItemType":1, "AudioSource":[{ "$type":"SwiftReach.Swift911.Core.Messages.Voice.AUDIO_SOURCE_VOICE, SwiftReach.Swift911.Core", "VoiceCode":0, "Content":"This is the message.", "AutoGenerateVoice":true, "FileVersion":0, "AudioType":0 }] }