//-- Intent: parses the text content and returns an array of text sources --// var jsonString = "This is the body"; $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", headers: {"SwiftAPI-Key": "12345"}, url: "http://api.v4.swiftreach.com/api/Messages/Pager/Helpers/TextToPagerSourceObject", data: jsonString, dataType: "json" success: function(result) { // Do something with the result } }); //- Example Return Value --// [{ "$type":"SwiftReach.Swift911.Core.Messages.Pager.PAGER_TEXT_SOURCE_TEXT, SwiftReach.Swift911.Core", "Text":"This is the body", "TextType":0 }]