//-- Intent: return the text content of the sms_content object --// var jsonString = ' \ { \ "SpokenLanguage":"English", \ "Subject":"my subject", \ "Body": \ [{ \ "$type":"SwiftReach.Swift911.Core.Messages.SMS.SMS_TEXT_SOURCE_TEXT, SwiftReach.Swift911.Core", \ "Text":"this is the body of my message", \ "TextType":"SMS_TEXT_SOURCE_TEXT" \ }] \ }'; $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Messages/Text/Helpers/SMSContentObjectToText", data: jsonString, dataType: "json" success: function(result) { // Do something with the result } }); <!-- Example Return Value --> 'this is the body of my message'